Skip to content

Commit b8b422f

Browse files
authored
Update README.md
1 parent 117bc32 commit b8b422f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

exercises/06-lambda-functions/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def multiply(p1, p2):
1717
# Declaring it now like a one line lambda function
1818
multiply = lambda p1,p2: p1 * p2
1919
```
20+
2021
👉 Facts:
2122

2223
+ **Lambda functions** have to always be very small.
@@ -38,7 +39,7 @@ multiply = lambda p1,p2: p1 * p2
3839
+ Here is how you would declare it like a normal function:
3940

4041
```py
41-
# This function returns True if a number is odd.
42+
# This function returns True if a number is odd
4243
def is_odd(num):
4344
return num % 2 != 0
4445
```

0 commit comments

Comments
 (0)