''' Purpose: naming allows abstraction ''' # get access to Python math comutational resources import math # name a value angle_of_interest_in_degrees = ... # demonstrate the two math constants print() print( 'Python approximation of pi:', math.pi ) print( 'Python approximation of Euler\'s number:', math.e ) print() reply = input( 'Enter when ready: ' ) print() # perform and display some math computation a = math.radians( angle_of_interest_in_degrees ) sin_a = math.sin( a ) tan_a = math.tan( a ) print( 'angle_of_interest_in_degrees =', angle_of_interest_in_degrees ) print() print( 'rad( angle_of_interest_in_degrees ):', a ) print( 'sin( a ):', sin_a ) print( 'tan( a ):', tan_a )