need itbut bitwise operations are often not as important in high-level language such as python as they are in low-level language such as as rule of thumbif you find yourself wanting to flip bits in pythonyou should think about which language you're really coding as we'll see in upcoming python' listsdictionariesand the like provide richer--and usually better--ways to encode information than bit stringsespecially when your data' audience includes readers of the human variety other built-in numeric tools in addition to its core object typespython also provides both built-in functions and standard library modules for numeric processing the pow and abs built-in functionsfor instancecompute powers and absolute valuesrespectively here are some examples of the built-in math module (which contains most of the tools in the language' math libraryand few built-in functions at work in as described earliersome floating-point displays may show more or fewer digits in pythons before and import math math pimath ( common constants math sin( math pi sinetangentcosine math sqrt( )math sqrt( ( square root pow( ) * * ( exponentiation (powerabs(- )sum(( )( absolute valuesummation min( )max( ( minimummaximum the sum function shown here works on sequence of numbersand min and max accept either sequence or individual arguments there are variety of ways to drop the decimal digits of floating-point numbers we met truncation and floor earlierwe can also roundboth numerically and for display purposesmath floor( )math floor(- ( - floor (next-lower integermath trunc( )math trunc(- ( - truncate (drop decimal digitsint( )int(- ( - truncate (integer conversionround( )round( )round( round (python versionnumbers in action