Commit dfa9905e authored by Adam Blank's avatar Adam Blank
Browse files

Add new file

parent 7d3cb72a
No related merge requests found
Showing with 29 additions and 0 deletions
+29 -0
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())
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment