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
Поділитися
Поділитися
Поділитися
автор:
Karenahmed81
Secondary
Computing
Programming Fundamentals
Programming Techniques
Редагувати вміст
Друкувати
Вбудувати
Більше
Завдання
Список переможців
Показати більше
Показати менше
Цей список ресурсів наразі є приватним. Натисніть
поділитися
, щоб зробити його публічним.
Власник/-ця ресурсу приховав/-ла список переможців.
Цей список переможців був прихований, оскільки ваші параметри відрізняються від параметрів власника/-ці ресурсу.
Відновити параметри
Вікторина
— відкритий шаблон. Тут не генеруються бали для списку переможців.
Вхід обов’язковий
Візуальний стиль
Шрифти
Потрібна підписка
Параметри
Обрати інший шаблон
Показати всі
Під час відтворення вправи відображатиметься більше форматів.
)
Відкриті результати
Копіювати посилання
QR-код
Видалити
Відновити автоматично збережене:
?