Skip to content

04 Function

SunilOS edited this page Aug 16, 2019 · 3 revisions

Creating Function

def my_function()

print("My Function")

Calling Function

my_function()

Passing Parameter inside the function

def my_function(name):

return nane; # return value

Clone this wiki locally