DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+5 =
Submit