![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
学习习题
FTFCE
这个作者很懒,什么都没留下…
展开
-
python从入门到实践习题 7-8~~7-10
习题7-8~7-107-87-97-107-8熟食店:创建一个名为sandwich_orders的列表,在其中包含各种三明治的名字;再创建一个名为finished_sandwiches空列表。遍历列表sandwich_orders,对于其中的每种三明治,都打印一条消息,比兔 I made your tuna sandwich.并将其移到列表finished_sandwiches。所有三明治都制作好后,打印一条消息,将这些三明治列出来。sandwich_orders=['抹茶三明治','红烧三明治','原创 2020-07-07 15:51:48 · 542 阅读 · 2 评论 -
python编程入门 习题7-4~~~7-7
习题#7-4#7-5#7-6#7-7原创 2020-07-07 14:22:56 · 778 阅读 · 0 评论 -
python编程入门7-1~7-3习题
7-1:汽车租赁:编写一个程序,询问用户要租赁什么样的汽车,并打印一条消息。car=input("What's car are you want?\n")print("Let me see if I can find you a Subaru.")7-2餐馆订位:编写一个程序,询问用户有多少人用餐。如果超过9人,就打印一条消息,指出没有空桌。number=input("How many customers will come?\n")number= int(number)if number原创 2020-07-06 16:40:13 · 396 阅读 · 0 评论