python-hard-way/3exercises/passing-parmseasy.py

12 lines
167 B
Python

def function1(arg):
print(arg)
def function2(argument):
print(argument)
argument = argument + ". HI!"
function1(argument)
function2("Hello World")