| tutorial | https://www.youtube.com/watch?v=0KX8Bh7d_9E |
|---|
Lambda functions allow a short syntax for writing function expressions.
multiply = lambda x, y: x * y
print(multiply(2,2))-
Create a lambda function called
rapid, which will take one string parameter. -
Return the same string with the last letter removed.
- Google "how to remove last letter from string python" (you can use the square brackets).