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 97aafc1

Browse files
Merge pull request #26 from ElviraQDP/ex6
Ex6
2 parents d1c9fbd + 04dbe7e commit 97aafc1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎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 によって変換されたページ (->オリジナル) /