Which function is used to display text on the screen?, read(), print(), show(), output(), Which of these is used to take input from the user?, get(), input(), read(), scan(), What is the correct way to assign a value to a variable?, 5 = x, x == 5, x = 5, x + 5, Which of these is a string?, 12, 4.5, ”Hello”, True, What will this code print? print(3 + 4), 34, 7, 3+4, Error, What symbol is used for comments in Python?, //(slash), #(Hastag), %(percentage), ”(double cots), Which operator is used for multiplication?, /, +, *, —, What will this code output? name = Ria print(“Hi” + Ria), Hi, Ria, Hi Ria, Hi + Ria, Which of these is a list?, {1,2,3}, [1,2,3], (1,2,3), ”1,2,3”, What does an if statement do?, Repeats codes, Chooses based on a condition, Prints output, Joins string, Which code correctly defines a function?, define hello():, def hello():, func hello:, function hello():, What will this loop do? for i in range(3): print("Hi"), Print Hi once, Print Hi forever, Print Hi 3 times, Error, What type of data is True?, int, str, bool, float, Which dictionary is written correctly?, [“name”: “Asha”], {“name”: “Asha”}, (“name”: “Asha”), “name”: “Asha”, Why is indentation important in Python?, It makes code colorful, It decorates the text, It shows which code belongs to a block, It adds comments.
0%
Python Quiz
Zdieľať
Zdieľať
Zdieľať
vytvoril(a)
Steventhest47
Upraviť obsah
Tlač
Vložiť
Viac
Úlohy
Rebríček
Zobraziť viac
Zobraziť menej
Tento rebríček je v súčasnosti súkromný. Kliknite na
Share
, aby bol verejný.
Tento rebríček bol vypnutý vlastníkom prostriedku.
Tento rebríček je vypnutý, pretože vaše možnosti sa líšia od možností vlastníka prostriedku.
Vrátiť možnosti
Kvíz
je šablóna s možnosťou rozšírenia. Nevytvára skóre pre rebríček.
Vyžaduje sa prihlásenie
Vizuálny štýl
Písma
Vyžaduje sa predplatné
Možnosti
Prepnúť šablónu
Zobraziť všetky
Pri prehrávaní aktivity sa zobrazia ďalšie formáty.
Otvorené výsledky
Kopírovať odkaz
QR kód
Odstrániť
Obnoviť automaticky uložené:
?