Предложите пользователю ввести его имя и возраст. Увеличьте возраст на 1 и выведите сообщение: [имя] next birthday you will be [новый возраст]
КАКОЙ ВАРИАНТ КОДА ПРАВИЛЬНЫЙ
PYTHON - 57
Quiz
•
Computers
•
7th Grade
•
Medium
Елена Давыдова-Мартынова
Used 10+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 5 pts
Предложите пользователю ввести его имя и возраст. Увеличьте возраст на 1 и выведите сообщение: [имя] next birthday you will be [новый возраст]
КАКОЙ ВАРИАНТ КОДА ПРАВИЛЬНЫЙ
name = input ("What is your name? ")
age = int (input("How old are you? "))
newAge = age + 1
print (name, " next birthday you will be ", newAge)
name = int ("What is your name? ")
age = input (input("How old are you? "))
newAge = age + 1
print (name, " next birthday you will be ", newAge)
name = input ("What is your name? ")
age = int (input("How old are you? "))
newAge = age + 5
print (name, " next birthday you will be ", newAge)
2.
MULTIPLE CHOICE QUESTION
45 sec • 3 pts
num1 = 93
Прибавляет к первой переменной 93
Вычитает из переменной 93
Присваивает значение переменной
3.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
print ("This is a message")
Что появится на экране после выполнения команды
This is a message
"This is a message"
("This is a message")
4.
MULTIPLE CHOICE QUESTION
2 mins • 4 pts
num1 = int(input("Enter first number: "))
num2 = int(input("Enter second number: "))
Пользователю нужно последовательно ввести 2 числа
Пользователь должен ввести сначала единицу, а затем двойку
Пользователю нужно ввести текстовой ответ
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Что делает функция print() в Python?
Сканирует введенные данные
Выводит информацию на экран
Сохраняет данные в файл
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как в Python создать переменную x со значением 10
x = "10"
x : = 10
x = 10
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой оператор используется для сравнения значений на равенство в Python?
=
==
===
14 questions
python.операторы ввода/вывода.переменные
Quiz
•
6th - 8th Grade
12 questions
алгоритм python
Quiz
•
6th - 8th Grade
16 questions
Python programming
Quiz
•
6th - 12th Grade
14 questions
Пайтон. 7 клас. Алгоритми
Quiz
•
7th Grade
13 questions
Алгоритми та програми (узагальнення)
Quiz
•
7th Grade
10 questions
Викторина по Python (Урок 1-2)
Quiz
•
5th - 11th Grade
17 questions
Компютърно моделиране с Python
Quiz
•
7th Grade
10 questions
Условный оператор, 7класс
Quiz
•
7th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
43 questions
LinkIt Test - 24-25_BM4_7th
Quiz
•
7th Grade
10 questions
Juneteenth: History and Significance
Interactive video
•
7th - 12th Grade
14 questions
One Step Equations
Quiz
•
5th - 7th Grade
26 questions
June 19th
Quiz
•
4th - 9th Grade
37 questions
7th Grade Summer Recovery Review
Quiz
•
7th Grade
18 questions
Informational Text Vocabulary
Quiz
•
7th - 8th Grade