Create a lambda function to calculate the area of a rectangle.
No specific requirements for this exercise.
4, 7
28
Create a lambda function to concatenate two strings with a space.
No specific requirements for this exercise.
"Hello", "World"
"Hello World"
Create a lambda function to reverse a string.
No specific requirements for this exercise.
"hello"
"olleh"
Create a lambda function that returns `True` if a substring exists in a string.
No specific requirements for this exercise.
"world", "hello world"
True
Create a lambda function to return the maximum of two numbers.
No specific requirements for this exercise.
8, 12
12
Create a lambda function to convert a string to uppercase.
No specific requirements for this exercise.
"lambda"
"LAMBDA"
Create a lambda function to check if a string is a palindrome.
No specific requirements for this exercise.
"madam"
True
Use a lambda with `map` to square each element in a list.
No specific requirements for this exercise.
[1, 2, 3, 4]
[1, 4, 9, 16]
Use a lambda with `filter` to extract even numbers from a list.
No specific requirements for this exercise.
[1, 2, 3, 4, 5, 6]
[2, 4, 6]