Edit Game
Module
 Delete

Use commas to add multiple tags

 Private  Unlisted  Public



 Save

Delimiter between question and answer:

Tips:

  • No column headers.
  • Each line maps to a question.
  • If the delimiter is used in a question, the question should be surrounded by double quotes: "My, question","My, answer"
  • The first answer in the multiple choice question must be the correct answer.






 Save   7  Close
ce face functia open din modulul webbrowser ?
ne deschide un tab nou cu adresa pe care i-o dam functiei open
ce face functia shuffle ? din ce modul e ?
functia shuffle din modulul random amesteca elementele dintr-o lista, vezi poza
ce funtie avem in modulul random pentru a alege random un element din lista, cu o folosim ?
functia choice(), intre paranteze scriem numele listei
ce face functia sleep din modulul time ?
opreste programul pentru un numar de secunde scrise intre paranteze la sleep: from time import sleep, apoi sleep(2)
cu ce modul masuram timpul ?
cu modulul time
ce facem daca vrem sa folosim o functie dintr-un modul ?
folosim keyword-ul from, from modul import functie
cum folosim un modul ?
cu keywordul import urmat de numele modului