Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

functions in python

#Functions
#Functions are followed by the 'def' keyword
#Name your function
def myfunc():
  a = 'This is a func'
  
#Calling the function  
myfunc()
print(myfunc())
 
PREVIOUS NEXT
Tagged: #functions #python
ADD COMMENT
Topic
Name
5+3 =