Skip to content

Commit a05ac7c

Browse files
committed
learnings.md for taking notes
1 parent 9fa646c commit a05ac7c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Work/learnings.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## if...elif
2+
3+
Like bash, python uses `elif`, not `else if`.
4+
5+
```python
6+
if a > 10:
7+
print("big")
8+
elif a < 5:
9+
print("not so")
10+
else:
11+
pass
12+
```

0 commit comments

Comments
 (0)