Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #------------------------------------------------------------------------- FUNCTIONS --------------------------------------------------------------------------
- from functions import *
- #------------------------------------------------------------------------ MAIN PROGRAM ------------------------------------------------------------------------
- playerName = raw_input("\n----------------------------------------------"
- + "\n================== DOMY QUIZ ================="
- + "\n----------------------------------------------"
- + "\nUnesite vase ime:\n")
- while selection != 4:
- selection = int(raw_input("\n----------------------------------------------"
- + "\n================== DOMY QUIZ ================="
- + "\n----------------------------------------------\n"
- + "\n------------------ IZBORNIK ------------------"
- + "\n1) Pokreni kviz"
- + "\n2) Dodaj pitanje"
- + "\n3) Ispis 10 najboljih rezultata"
- + "\n4) Izlaz"
- + "\n-------------------- v1.0 --------------------\n"))
- if selection == 1:
- readFile(playerName)
- elif selection == 2:
- addAnswer()
- elif selection == 3:
- printScore()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement