这里有一个简单的Python便签程序的代码:notes_list = []while True: command = input("Enter a command: ") if command == "list": for note in notes_list: print(note) elif command == "add": note = input("Enter your note: ") notes_list.append(note) elif command == "quit"
python制作一个便签程序 ,请给出代码
最新推荐文章于 2024-04-13 09:10:24 发布