摘要: 编写一个名为display_message() 的函数,它打印一个句子,指出你在本章学的是什么。调用这个函数,确认显示的消息正确无误 编写一个名为favorite_book()的函数,其中包含一个名为title的形参。这个函数打印一条消息,如One of my favorite books is A 阅读全文
posted @ 2020-04-28 15:29 0xHigos 阅读(609) 评论(0) 推荐(0) 编辑
摘要: 编写一个程序,询问用户要租赁什么样的汽车,并打印一条消息,如“Let me see if I can find you a Subaru” car =input("What kind ofretal car you would like:") print(f"Let me see if I can 阅读全文
posted @ 2020-04-28 15:13 0xHigos 阅读(764) 评论(0) 推荐(0) 编辑