<filename>C8/8.1.py
# 8-1
def display_message():
    """Display a message"""
    print('I will learn functions in this chapter~')

display_message()


# 8-2
def favorite_book(title):
    print('One of my favorite book is ' + title.title() + '.')

favorite_book('three body')


<filename>C8/8.1.py
# 8-1
def display_message():
    """Display a message"""
    print('I will learn functions in this chapter~')

display_message()


# 8-2
def favorite_book(title):
    print('One of my favorite book is ' + title.title() + '.')

favorite_book('three body')


# 8-1 Display a message # 8-2