Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8c81706

Browse files
https://github.com/learnpack/learnpack/issues/512
1 parent d1c9fbd commit 8c81706

File tree

2 files changed

+5
-3
lines changed
  • .learn/resets/06-lambda-functions
  • exercises/06-lambda-functions

2 files changed

+5
-3
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# your function here
2+

‎exercises/06-lambda-functions/README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ multiply = lambda p1,p2: p1 * p2
3737

3838
+ Here is how you would declare it like a normal function:
3939

40-
```python
40+
```py
4141
# this function return True if a number is odd.
4242
def is_odd(num):
43-
return (num % 2) !== 0:
43+
return (num % 2) != 0:
4444
```
45-
45+

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /