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 9fa646c commit a05ac7cCopy full SHA for a05ac7c
1 file changed
Work/learnings.md
@@ -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