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
Algoritma
Quiz
•
9th - 10th Grade
44 questions
ĐỀ CƯƠNG ÔN TẬP GIỮA KỲ I - Tin học 6
Quiz
•
6th Grade - University
45 questions
TO 2 ICT Jakarta Islamic School
Quiz
•
9th - 12th Grade
45 questions
Bài Kiểm Tra cuối HK I Tin Học 11
Quiz
•
10th Grade
45 questions
VLAN
Quiz
•
10th - 12th Grade
43 questions
Bài 4, 6 chủ đề F tin 10
Quiz
•
10th Grade
42 questions
TIN HỌC KHỐI 5 HK1
Quiz
•
1st Grade - University
46 questions
CompTIA ITFundamentals CRAM
Quiz
•
6th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
