Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python modules

# Python program to illustrate
# math module
import math
  
def Main():
    num = -85
  
    # fabs is used to get the absolute 
    # value of a decimal
    num = math.fabs(num) 
    print(num)
      
      
if __name__=="__main__":
    Main()
 
PREVIOUS NEXT
Tagged: #python #modules
ADD COMMENT
Topic
Name
2+1 =