Python functions

9 Views
Published
Python functions tutorial explained

#Python #functions #tutorial

#function = a block of code which is executed only when it is called.

def hello(first_name,last_name,age):
print("hello "+first_name+" "+last_name)
print("You are "+str(age)+" years old")
print("Have a nice day!")

hello("Bro","Code",21)

––––––––––––––––––––––––––––––
Up In My Jam (All Of A Sudden) by - Kubbi https://soundcloud.com/kubbi
Creative Commons — Attribution-ShareAlike 3.0 Unported— CC BY-SA 3.0
Free Download / Stream: http://bit.ly/2JnDfCE
Music promoted by Audio Library https://youtu.be/tDexBj46oNI
––––––––––––––––––––––––––––––
Category
Bro Code
Tags
Python, Python Functions, Python Function
Be the first to comment