
Lambda Def
Authored by Romenion Kz
Computers
10th Grade
Used 27+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
46 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
greet = lambda: print("Hi, how are you?")
greet()
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
goodbye = lambda: print("Goodbye, see you soon!")
goodbye()
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
square = lambda x: x ** 2
print(square(5))
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
add_numbers = lambda a, b: a + b
print(add_numbers(3, 7))
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
reverse_string = lambda s: s[::-1]
print(reverse_string("hello"))
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
check_even = lambda x: "Even" if x % 2 == 0 else "Odd"
print(check_even(10))
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
to_uppercase = lambda s: s.upper()
print(to_uppercase("python"))
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?
Similar Resources on Wayground
42 questions
3.2 Data - Data representation
Quiz
•
10th Grade
45 questions
Nesne Tabanlı Quiz 3
Quiz
•
10th Grade
47 questions
IT Fundamentals Chapter 6
Quiz
•
8th - 12th Grade
43 questions
Ôn Tập Kiểm Tra KHTN 7
Quiz
•
1st Grade - University
48 questions
STARTER - 1D Array Test
Quiz
•
9th - 12th Grade
42 questions
excel simdik
Quiz
•
10th Grade
46 questions
TIN HOC LƠP 4 HK1
Quiz
•
1st Grade - University
50 questions
ULANGAN HARIAN TEKNIK PENGOLAHAN AUDIO DAN VIDEO
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade