We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 117bc32 commit b8b422fCopy full SHA for b8b422f
exercises/06-lambda-functions/README.md
@@ -17,6 +17,7 @@ def multiply(p1, p2):
17
# Declaring it now like a one line lambda function
18
multiply = lambda p1,p2: p1 * p2
19
```
20
+
21
👉 Facts:
22
23
+ **Lambda functions** have to always be very small.
@@ -38,7 +39,7 @@ multiply = lambda p1,p2: p1 * p2
38
39
+ Here is how you would declare it like a normal function:
40
41
```py
-# This function returns True if a number is odd.
42
+# This function returns True if a number is odd
43
def is_odd(num):
44
return num % 2 != 0
45
0 commit comments