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
Del
Del
Del
etter
Steventhest47
Rediger innhold
Skriv ut
Innebygd
Mer
Tildelinger
Ledertavle
Vis mer
Vis mindre
Denne ledertavlen er for øyeblikket privat. Klikk
Share
for å gjøre den offentlig.
Denne ledertavlen er deaktivert av ressurseieren.
Denne ledertavlen er deaktivert fordi alternativene er forskjellige fra ressurseieren.
Alternativer for tilbakestilling
Spørrelek
er en åpen mal. Det genererer ikke poengsummer for en ledertavle.
Pålogging kreves
Visuell stil
Skrifter
Krever abonnement
Alternativer
Bytt mal
Vis alle
Flere formater vises når du spiller av aktiviteten.
Åpne resultater
Kopier kobling
QR-kode
Slette
Gjenopprett automatisk lagring:
?