Which function is used to accept a string input from the user?, input(), str(), int(), print(), What is the result of the expression 5 + 3 * 2?, 16, 11, 13, 10, Which keyword is used to make a decision in Python?, while, for, if, def, Which comparison operator is used to check if two values are equal?, <, >, =, ==, What does the random.randint(a, b) function do?, It generates a random float between a and b., It generates a random integer between a and b., It generates a random boolean value., It generates a random string between a and b., How can you jump out of a loop early in Python?, stop(), return, break, exit(), What does the modulo operator (%) do?, It performs division and returns the quotient., It returns the remainder of division., It performs exponentiation., It checks for equality., How can you loop through code 3 times?, for i in range(3):, for i in sequence(3):, for i in range(len(3)):, for i in 3:, Which function is used to accept an integer input from the user?, input(), print(), str(), int(), What is the output of this code snippet?, Greater than 10, Greater than 7, Less than or equal to 7, None of the above.
0%
Python Quiz 1
Megosztás
Megosztás
Megosztás
szerző:
Karenahmed81
Secondary
Computing
Programming Fundamentals
Programming Techniques
Tartalom szerkesztése
Nyomtatás...
Beágyazás
Egyebek
Hozzárendelések
Ranglista
Több megjelenítése...
Részletek elrejtése
Ez a ranglista jelenleg privát. Kattintson a
Megosztás
és tegye nyílvánossá
Ezt a ranglistát a tulajdonos letiltotta
Ez a ranglista le van tiltva, mivel az opciók eltérnek a tulajdonostól.
Beállítások visszaállítása
a(z) Kvíz
egy nyílt végű sablon. Nem hoz létre pontszámokat egy ranglistán.
Bejelentkezés szükséges
Vizuális stílus
Betűtípusok
Előfizetés szükséges
Beállítások
Kapcsoló sablon
Az összes megjelenítése
További formátumok jelennek meg a tevékenység lejátszásakor.
)
Nyílt eredmények
Link másolása
QR-kód
Törlés
Automatikus mentés visszaállítása :
?