python functino code example
Example 1: python funtion
def nameOfFunction(something):
return something
Example 2: 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())