Python之路-字符编码&数据类型补充

作业

三级菜单程序

history =[menu]
while True:
for item in history[-1]:
print(item)
choice = input("input your choice :").strip()
if choice == 'b' and len(history) > 1:
history.pop()
elif choice == 'q': break
else:
if choice in history[-1]:
history.append(history[-1][choice])
上一篇:pod》error:The dependency `` is not used in any concrete target


下一篇:yaf设置命名空间