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
Baham ko'rish
Baham ko'rish
Baham ko'rish
tomonidan
Steventhest47
Tarkibini tahrirlash
Chop etish
qo'shib qo'yish
Ko'proq
Tayinlashlar
Ilg'orlar ro'yxati
Ko'proq ko'rsatish
Kamroq koʻrsatish
Ushbu etakchilar jadvali hozirda xususiy. Uni ommaga etkazish uchun
Ulashish-ni
bosing.
Liderlar ro'yxati resurs egasi tomonidan o'chirib qo'yildi.
Ushbu etakchilar ro'yxati o'chirib qo'yilgan, chunki sizning variantlaringiz resurs egasidan farq qiladi.
Qaytish moslamalari
Viktorina
ochiq-oydin shablon. Etakchilar ro'yxati uchun ballar yaratmaydi.
Tizimga kirish talab qilinadi
Vizual uslub
Shriftlar
Obuna talab etiladi
Moslamalar
Namunani almashtirish
Hammasini koʻrsatish
Faoliyatni o'ynaganingizda ko'proq formatlar paydo bo'ladi.
Ochiq natijalar
Bogʻdan nusxa olish
Tez javob kodi
& Olib tashlash
Tahrirlashni davom ettirish:
?