We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e4de92 commit 5a5f81eCopy full SHA for 5a5f81e
2 files changed
python-first-steps/conditionals.py
@@ -1,16 +1,18 @@
1
age = 21
2
+
3
if age >= 18:
4
print("You're a legal adult")
5
6
age = 16
7
8
9
10
else:
11
print("You're NOT an adult")
12
13
age = 18
14
15
if age > 18:
16
print("You're over 18 years old")
17
elif age == 18:
18
print("You're exactly 18 years old")
-
python-first-steps/while_loops.py
@@ -1,7 +1,7 @@
count = 1
while count < 5:
print(count)
count += 1
print("The loop wasn't interrupted")
0 commit comments