Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scores = []
- choice = None
- while choice != 0:
- print(
- """
- 0 - zakończ
- 1 - wyswietl wyniki
- 2 - dosdaj wynik
- """
- )
- choice = input("wybierasz: ")
- print()
- #zakończ
- if choice == 0:
- print("Do widzenia")
- #wyswietla tabele najlepszych wynikóœ
- elif choice == "1":
- print("Najlepsze wyniki\n")
- print("GRACZ\tWYNIK")
- for entry in scores:
- score, name = entry
- print(name, "\t", score)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement