Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

How to Use the abs() Function with an Integer Argument

my_number = 7

abs_value = abs(my_number)

print(abs_value)

#output 

#7
Source by www.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #How #Use #Function #Integer #Argument
ADD COMMENT
Topic
Name
4+5 =