Advertisement
Domy131097

Untitled

Dec 3rd, 2018
128
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #------------------------------------------------------------------------- FUNCTIONS --------------------------------------------------------------------------
  2. from functions import *
  3. #------------------------------------------------------------------------ MAIN PROGRAM ------------------------------------------------------------------------
  4. playerName = raw_input("\n----------------------------------------------"
  5. + "\n================== DOMY QUIZ ================="
  6. + "\n----------------------------------------------"
  7. + "\nUnesite vase ime:\n")
  8.  
  9. while selection != 4:
  10. selection = int(raw_input("\n----------------------------------------------"
  11. + "\n================== DOMY QUIZ ================="
  12. + "\n----------------------------------------------\n"
  13. + "\n------------------ IZBORNIK ------------------"
  14. + "\n1) Pokreni kviz"
  15. + "\n2) Dodaj pitanje"
  16. + "\n3) Ispis 10 najboljih rezultata"
  17. + "\n4) Izlaz"
  18. + "\n-------------------- v1.0 --------------------\n"))
  19. if selection == 1:
  20. readFile(playerName)
  21. elif selection == 2:
  22. addAnswer()
  23. elif selection == 3:
  24. printScore()
Advertisement
RAW Paste Data Copied
Advertisement