how do i do a tuple comprehension in python