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
Bendrinti
Bendrinti
Bendrinti
prie
Steventhest47
Redaguoti turinį
Spausdinti
Įterpti
Daugiau
Užduotis
Lyderių lentelė
Rodyti daugiau
Rodyti mažiau
Ši lyderių lentelė šiuo metu yra privati. Spustelėkite
Bendrinti
, kad ji būtų vieša.
Ši lyderių lentelė buvo išjungta išteklių savininko.
Ši lyderių lentelė yra išjungta, nes jūsų parinktys skiriasi nuo nustatytų išteklių savininko.
Grąžinti parinktis
Viktorina
yra neterminuotas šablonas. Jis negeneruoja rezultatų lyedrių lentelei.
Reikia prisijungti
Vizualinis stilius
Šriftai
Būtina prenumerata
Parinktys
Pakeisti šabloną
Rodyti viską
Pradėjus veiklą bus rodoma daugiau formatų.
Atviri rezultatai
Kopijuoti nuorodą
QR kodas
Naikinti
Atkurti automatiškai įrašytą:
?