skills = {"Power": 0,"Magic": 0, "Speed": 0}
points = 30
choice = 100
while choice != 0:
print(
"""
0 - Exit
1 - Show skills
2 - Use some points
3 - Take some points
"""
)
choice = int(input("Your choice: "))
print()
if choice == 0:
print("Good luck!")
elif choice == 1:
print(skills.keys())
elif choice == 2:
print("You have", points ,"points.")
skills.items()
input("The end")
c2tpbGxzID0geyJQb3dlciI6IDAsIk1hZ2ljIjogMCwgIlNwZWVkIjogMH0KcG9pbnRzID0gMzAKY2hvaWNlID0gMTAwCndoaWxlIGNob2ljZSAhPSAwOgoJcHJpbnQoCgkiIiIKCTAgLSBFeGl0CgkxIC0gU2hvdyBza2lsbHMKCTIgLSBVc2Ugc29tZSBwb2ludHMKCTMgLSBUYWtlIHNvbWUgcG9pbnRzCgkiIiIKCSkKCWNob2ljZSA9IGludChpbnB1dCgiWW91ciBjaG9pY2U6ICIpKQoJcHJpbnQoKQoJaWYgY2hvaWNlID09IDA6CgkJcHJpbnQoIkdvb2QgbHVjayEiKQoJZWxpZiBjaG9pY2UgPT0gMToKCQlwcmludChza2lsbHMua2V5cygpKQoJZWxpZiBjaG9pY2UgPT0gMjoKCQlwcmludCgiWW91IGhhdmUiLCBwb2ludHMgLCJwb2ludHMuIikKCQlza2lsbHMuaXRlbXMoKQppbnB1dCgiVGhlIGVuZCIp
0 - Exit
1 - Show skills
2 - Use some points
3 - Take some points
Your choice:
Traceback (most recent call last):
File "<builtin>/app_main.py", line 75, in run_toplevel
File "prog.py", line 13, in <module>
choice = int(input("Your choice: "))
EOFError