Chad Ivic▸ Understanding Functions (Task 1)


#cserApps1
A function that replaces multiple steps (written in python)

def greet_class():
print('Hello students')
print('Welcome to class today')
print("Let's get started!")

#the function has been called below
greet_class()

#output below
Hello students
Welcome to class today
Let's get started!


G+ Comments

no plus ones, 0 comments

    + There are no comments

    Add yours

    Leave a Reply