#coding:gbk
#8-1消息
def display_message():
"""展示在本章中的学习内容"""
print('你在本章的学习内容')
display_message()
#8-2喜欢的图书
def favorite_book(title):
print('One of my favoriate books is ' + title.title())
favorite_book('alice in wonderland')
#8-3 T-shirt
def make_shirt(shirt_size, shirt_typeface):
"""说明T shirt的尺寸和字样"""
print('\nThe size of T-shirt is ' + shirt_size + '.')
print('The typeface of the T-shirt is ' + shirt_typeface + '.')
make_shirt('s','w')
#8-4
def make_shirt(shirt_size, shirt_typeface = 'I love Python'):
"""说明T shirt的尺寸和字样"""
print('\nThe size of T-shirt is ' + shirt_size + '.')