编写一个 while 循环模拟餐厅服务员询问客人一共有多少人用餐,要求在 while 循环中使用条件测试来结束循环。 每次循环开始先使用print()语句一行输出字符串 "Welcome! How many people, please?\nEnter 'quit' to end the program.", 如果读取到字符串等于'quit',则退出 while 循环, 否则将字符串转成整数,如果整数不超过4,则使用print()语句一行输出字符串 'Your small table is reserved!'; 如果整数大于4不超过6,则使用print() 语句一行输出字符串 'Your middle table is reserved!'; 如果整数大于6不超过10,则使用print() 语句一行输出字符串 'Your large table is reserved!'; 如果整数超过10,则使用print()语句一行输出字符串 'Sorry, there is no free table that seats over ten persons.'; 然后本次循环结束,再次进入 while 循环中的条件测试。
输入描述:
保证每一行的输入只有数字或字符串'quit',且保证数字合法,范围在[1, 20]。


输出描述:
按题目描述进行输出即可。
示例1

输入

2
18
quit

输出

Welcome! How many people, please?
Enter 'quit' to end the program.
Your small table is reserved!
Welcome! How many people, please?
Enter 'quit' to end the program.
Sorry, there is no free table that seats over ten persons.
Welcome! How many people, please?
Enter 'quit' to end the program.
加载中...