1 2 3 4 5 6 7 8
""" Lambda functions for converting angles between radians and degrees """ import math deg_to_rad=lambda deg: (deg*math.pi)/180 rad_to_deg=lambda rad: (rad/math.pi)*180