numbers from math import sinpi print'pi is roughly 'piprint'sin( 'sin( )pi is roughly sin( built-in math functions there are two built in math functionsabs (absolute valueand round that are available without importing the math module here are some examplesprint(abs(- )print(round( )print(round( - ) the round function takes two argumentsthe first is the number to be rounded and the second is the number of decimal places to round to the second argument can be negative getting help from python there is documentation built into python to get help on the math modulefor examplego to the python shell and type the following two linesimport math dir(math['__doc__''__name__''__package__''acos''acosh''asin''asinh''atan''atan ''atanh''ceil''copysign''cos''cosh''degrees'' ''exp''fabs''factorial''floor''fmod''frexp''fsum''hypot''isinf''isnan''ldexp''log''log ''log ''modf''pi''pow''radians''sin''sinh''sqrt''tan''tanh''trunc'this gives list of all the functions and variables in the math module you can ignore all of the ones that start with underscores to get help on specific functionsay the floor functionyou can type help(math floortyping help(mathwill give you help for everything in the math module using the shell as calculator the python shell can be used as very handy and powerful calculator here is an example session