
Функции в Python

Flashcard
•
others
•
•
Hard
Wayground Content
FREE Resource
Student preview

4 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Как определяется функция в Python? Options: function my_func():, def my_func():, create my_func():, func my_func():
Back
def my_func():
2.
FLASHCARD QUESTION
Front
Что выведет следующий код?
def greet(name="Гость"):
return f"Привет, {name}!"
print(greet())
Back
Привет, Гость!
3.
FLASHCARD QUESTION
Front
Какая функция используется для получения списка чисел в заданном диапазоне?
Back
range()
4.
FLASHCARD QUESTION
Front
Найдите ошибку в функции:
python
def calculate_sum(a, b): result = a + b print(calculate_sum(3, 5))
Back
Ошибки нет.
Similar Resources on Wayground
5 questions
Урок открытый

Flashcard
•
6th Grade
9 questions
Intro to Angle Addition Postulate

Flashcard
•
10th Grade
12 questions
Python Functions

Flashcard
•
9th - 12th Grade
9 questions
Naming Angles

Flashcard
•
8th Grade
1 questions
❤️🔥Нтбба

Flashcard
•
2nd Grade
6 questions
5th grade strings review

Flashcard
•
5th Grade
9 questions
3-поток

Flashcard
•
12th Grade
10 questions
Rosyjski dla początkujących

Flashcard
•
1st Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for others
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade