from util import play
def print_greeting(name: str) -> None:
print("Hello, " + name)
def get_greeting(name: str) -> str:
return "Hello, " + name
def say_greeting(name: str) -> None:
play("Hello, " + name)
# What happens when we run the following three lines of code???
print(print_greeting("Adam"))
print(get_greeting("Hopper"))
# print(say_greeting("Philippe"))
print("hello " + "I have " + str(1) + "dog")
def f():
for i in range(10):
return i
print(f())
-
Adam Blank authoredc046c037