Compare commits
No commits in common. "c2ffc5819f99eb89ef85706c43d91dfff1998934" and "f07caec070ceff8939b44051ad2ad4b99f5d387c" have entirely different histories.
c2ffc5819f
...
f07caec070
@ -1,7 +0,0 @@
|
||||
# Exercise 8-1 Message
|
||||
# Leaning Objective: Create a simple function
|
||||
|
||||
def display_message():
|
||||
print("This chapter is about functions!")
|
||||
|
||||
display_message()
|
||||
@ -1,10 +0,0 @@
|
||||
# Exercise 8-2 Favorite Book
|
||||
# Learning Objective: Create a function that takes one argument.
|
||||
|
||||
title = input("What is a good book?")
|
||||
|
||||
|
||||
def favorite_book(title):
|
||||
print(f"One of my favorite books is {title}")
|
||||
|
||||
favorite_book(title)
|
||||
Loading…
x
Reference in New Issue
Block a user