1) What is the outcome? print(math.ceil(1.4)) a) 3 b) 2 c) 1 d) 6 2) What is the outcome? print(math.ceil(5.3)) a) 6 b) 3 c) 2 d) 1 3) What is the outcome? print(math.ceil(-5.3)) a) -5 b) 6 c) 2 d) 3 4) What is the outcome? print(math.ceil(22.6)) a) -5 b) 6 c) -2 d) 23 5) What is the outcome? print(math.fabs(-66.43)) a) 66.43 b) 09.88 c) -2.00 d) 23.87 6) What is the outcome? print(math.fabs(-7)) a) -66.43 b) 09.88 c) 7.0 d) 23.87 7) What is the outcome? print(math.floor(0.6)) a) 1 b) 0 c) 1.0 d) 0.2 8) What is the outcome? print(math.floor(1.4)) a) 1 b) 0 c) 1.0 d) 2.0 9) What is the outcome? print(math.floor(5.3)) a) 6 b) 5 c) 5.0 d) 6.0 10) What is the outcome? print(math.floor(-5.3)) a) -6 b) 5 c) 5.0 d) 6.0 11) What is the outcome? print(math.floor(22.6)) a) 22.0 b) 23 c) 23.0 d) 22 12) What is the outcome? print(math.fmod(20, 4)) a) 0.0 b) 0.6 c) 0.5 d) 0.1 13) What is the outcome? print(math.fmod(20, 3)) a) 0.0 b) 2.0 c) 3.0 d) 0.1 14) What is the outcome? print(math.fmod(15, 6)) a) 0.0 b) 2.0 c) 3.0 d) 0.1 15) What is the outcome? print(math.fmod(-10, 3)) a) -1.0 b) -2.0 c) 1.5 d) 1.2 16) Which is the correctly displayed format for printing the date? a) year, day, month b) day, month, year c) month, day, year d) year, month,day 17) What is the correctly format to output using the .now() property? a) year, month, day, hour, minute, second, and microsecond. b) day, month, year, minute, second, and microsecond. c) month, day, year, minute, hour, and microsecond d) hour, minute, microsecond, day, year, and month 18) Choose the option that outputs a random number between 3 and 8. a) print(random.randrange(2, 9)) b) print(random.randrange(3, 10)) c) print(random.randrange(3, 9)) d) print(random.randrange(0, 9)*2) 19) Choose the option that outputs a random number between 3 and 9. a) print(random.randint(2, 9)) b) print(random.randint(3, 10)) c) print(random.randint(3, 9)) d) print(random.randint(0, 9)*2) 20) Choose the option that outputs a random number between 0 and 10. a) print(random.randrange(0, 11)) b) print(random.randrange(0, 12)) c) print(random.randrange(0,-14)) d) print(random.randrange(0, 11.5)) 21) Choose the option that outputs a random number between 0 and 11. a) print(random.randint(0, 11)) b) print(random.randint(0, 12)) c) print(random.randint(0,-14)) d) print(random.randint(0, 11.5)) 22) Choose the option that outputs a random number between 15 and 35. a) print(random.randrange(0, 37)) b) print(random.randrange(15, 36)) c) print(random.randrange(15,38)) d) print(random.randrange(15,35)) 23) Choose the option that outputs a random number between 15 and 36. a) print(random.randint(0, 37)) b) print(random.randint(15, 36)) c) print(random.randint(15,38)) d) print(random.randint(15,35)) 24) Choose the option that outputs a random number between 54 and 56. a) print(random.randrange(54, 57)) b) print(random.randrange(54, 56)) c) print(random.randrange(54, 58)) d) print(random.randrange(53, 55)) 25) Choose the option that outputs a random number between 54 and 57. a) print(random.randint(54, 57)) b) print(random.randint(54, 56)) c) print(random.randint(54, 58)) d) print(random.randint(53, 55))
0%
Python Game!
Podeli
Podeli
Podeli
autor
Leonorperez2929
Uredi sadržaj
Odštampaj
Ugradi
Više
Zadatke
Tabela
Prikaži više
Prikaži manje
Ova tabela je trenutno privatna. Kliknite na
Podeli
da biste je objavili.
Pristup tabeli je onemogućio vlasnik sredstva.
Ova tabela je onemogućena pošto Vam se podešavanja razlikuju od podešavanja vlasnika sredstva.
Vrati podešavanja
Televizijski kviz
je otvoreni šablon. On ne generiše rezultate za tabelu rangiranja.
Prijava je obavezna
Vizuelni stil
Fontove
Potrebna je pretplata
Postavke
Promeni šablon
Prikaži sve
Više formata će se pojaviti tokom igranja aktivnosti.
Otvoreni rezultati
Kopiraj vezu
QR kôd
Izbriši
Vrati automatski sačuvano:
?