Как вывести текст "Привет, мир!" в Python?
Квиз по Python: Условия и Циклы

Quiz
•
Computers
•
12th Grade
•
Hard
Андрей Иванов
Used 12+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print "Привет, мир!"
print("Привет, мир!")
echo("Привет, мир!")
console.log("Привет, мир!")
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как запросить ввод числа от пользователя?
number = int(input("Введите число: "))
number = input("Введите число: ")
number = read("Введите число: ")
number = console.input("Введите число: ")
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как проверить, что переменная x равна 10?
if x == "10":
if x = 10:
if x == 10:
if x === 10:
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что выведет этот код? x = 5 print(x + 3)
53
8
x + 3
Ошибку
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой оператор используется для "иначе" в условии?
elseif
elif
else
otherwise
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как напечатать число и текст вместе? age = 12
print(age + " лет")
print(age, "лет")
print(f"{age} лет")
print(str(age) + " лет")
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что делает этот код? if temperature > 30: print("Жарко") else: print("Не жарко")
Проверяет, больше ли temperature 30, и выводит "Жарко" или "Не жарко"
Всегда выводит "Жарко"
Сравнивает temperature с 0
Вызывает ошибку
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Python функциялары 7 сынып

Quiz
•
12th Grade - University
20 questions
Java Script 1.7.

Quiz
•
1st - 12th Grade
15 questions
Тест по информатике для 7 класса

Quiz
•
7th Grade - University
16 questions
Викторина

Quiz
•
9th - 12th Grade
15 questions
Python Revision Tour - I

Quiz
•
12th Grade
20 questions
Python Basics (CodeHS)

Quiz
•
7th - 12th Grade
20 questions
TIKamy po angielsku

Quiz
•
9th - 12th Grade
20 questions
Unit 3 Python TEST

Quiz
•
11th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University