
Урок открытый
Flashcard
•
Computers
•
6th Grade
•
Practice Problem
•
Easy
Асия Асия
Used 7+ times
FREE Resource
Student preview

5 questions
Show all answers
1.
FLASHCARD QUESTION
Front
print(Привет, мир!)
Back
print("Привет, мир!")
В коде пропущены кавычки
2.
FLASHCARD QUESTION
Front
print("Мой возраст" 12 "лет")
Back
print("Мой возраст", 12, "лет")
Программа не разделяет слова между собой запятыми
3.
FLASHCARD QUESTION
Front
a = input("Введите число 1: ")
b = input("Введите число 2: ") print("Сумма чисел:", a + b)
Back
a = int(input("Введите число 1: "))
b = int(input("Введите число 2: ")) print("Сумма чисел:", a + b )
функция input() возвращает строку, а не число, поэтому её нужно преобразовать в число с помощью int() или float().
4.
FLASHCARD QUESTION
Front
A = input("Введите число: ") print("Введённое число: ", A)
Back
A = int(input("Введите число: ")) print("Введённое число: ", A)
если мы ожидаем, что пользователь введёт число, его нужно преобразовать в тип int или float.
5.
FLASHCARD QUESTION
Front
a = input("Введите первое число: ")
b = input("Введите второе число: ") print("Произведение чисел:", a * b)
Back
a= int(input("Введите первое число: ")) b = int(input("Введите второе число: ")) print("Произведение чисел:", a * b)
необходимо преобразовать введенные значения в числа (добавить int)
Similar Resources on Wayground
10 questions
Algorithm Basics: Input, Process, Output
Flashcard
•
7th Grade
10 questions
Representing Relations and Functions
Flashcard
•
8th Grade
15 questions
Proportional Relationships Review
Flashcard
•
7th Grade
15 questions
Linear Relationships
Flashcard
•
7th Grade
15 questions
Foundations of American Government
Flashcard
•
7th Grade
15 questions
review functions and scatterplots
Flashcard
•
7th Grade
15 questions
Graphing with a Table of Values
Flashcard
•
7th Grade
15 questions
8.EE.6 Checkpoint 2.3
Flashcard
•
6th - 8th Grade
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade