Lambda Def
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Easy
Romenion Kz
Used 27+ times
FREE Resource
Enhance your content in a minute
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
50 questions
EOPA Overall Review #2 Random
Quiz
•
9th - 12th Grade
50 questions
ULANGAN HARIAN INFORMATIKA
Quiz
•
10th Grade
50 questions
ULANGAN SUMATIF BAB 2 INFORMATIKA
Quiz
•
10th Grade
51 questions
INFORMATIKA KELAS X SMK
Quiz
•
10th Grade
50 questions
ULANGAN SUMATIF BAB I INFORMATIKA
Quiz
•
10th Grade
50 questions
REMIDI SAS GENAP INFORMATIKA X
Quiz
•
10th Grade
50 questions
Digital Graphics - Terminology, File Types, Photoshop Basics
Quiz
•
9th - 12th Grade
51 questions
Digital Literacy Chapter 14 Review
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
