File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
exercises/07-lambda-function-two Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 2
2
tutorial : " https://www.youtube.com/watch?v=1HwmTkQPeMo"
3
3
---
4
4
5
- # ` 07 ` Lambda functions
5
+ # ` 07 ` Lambda Functions
6
6
7
- ** : point_up : Remember:**
7
+ ### ☝ Remember:
8
8
9
9
Lambda functions allows a short syntax for writing function expressions.
10
10
11
11
``` python
12
- multy = lambda x , y : x * y
13
- print (multy (2 ,2 ))
12
+ multi = lambda x , y : x * y
13
+ print (multi (2 ,2 ))
14
14
```
15
15
16
16
## 📝 Instructions:
17
17
18
- 1 . Create a lambda function called ` rapid ` it will take one string parameter.
18
+ 1 . Create a lambda function called ` rapid ` , which will take one string parameter.
19
19
20
20
2 . Return the same string with the last letter removed.
21
21
22
- ## 💡 Hint
22
+ ## 💡 Hint:
23
23
24
- + Google how to " remove last letter form string python" (you can use the square brackets).
24
+ + Google " how to remove last letter from string python" (you can use the square brackets).
You can’t perform that action at this time.
0 commit comments