
функции
Authored by Igor Perekalskiy
Science
5th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как создается функция в Python
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
В каком варианте кода присутствует ошибка
def draw_box():
for in range(5):
print('*' * 7)
def draw_box():
for _ in range(5):
print('*' * 9)
def draw_box():
for _ in range(5):
print('*' * 10)
def draw_box():
for _ in range(5):
print('*' * 15)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как вызвать данную функцию
def print_message() :
print('Я - Артур,')
print('король британцев. ')
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Как вызвать данную функцию
def draw_box(height, width):
for i in range(height):
print('*' * width)
create_box(7, 5)
draw_box('7', '5')
height =5
width=7
print_box(height, width)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
X глобальная или локальная переменная
x = 5
def func():
print(x)
func()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Данная функция возвращает значение?
def func():
x = 5
x += 10
return x
result = func()
print(result)
Не возвращает
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Функция вернет?
def func():
x = 5
y = 10
return x, y
result1, result2 = func()
print(result1, result2)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?