Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Adding function to a varieble in python

def plus_one(number):
    return number + 1

add_one = plus_one
add_one(5)
Source by www.datacamp.com #
 
PREVIOUS NEXT
Tagged: #Adding #function #varieble #python
ADD COMMENT
Topic
Name
3+5 =