Python_BH
Sunday, October 2, 2016
[ Functions and Modules ] Functions
def statement => create your own function
def my_func( ) :
print("Hi")
my_func
The code block within every function starts with a colon(:) and is indented
You must define functions before they are called
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment