# This is legal in python switch = math.pi / 4.0 <= dyaw < math.pi / 2.0 # map function and lamda map(lambda x, y: x + y, [1, 3, 5, 7, 9], [2, 4, 6, 8, 10]) #[3, 7, 11, 15, 19]