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 f64b77f commit 64cb692Copy full SHA for 64cb692
3-control-flow/15_the_cyclone_1.py
@@ -0,0 +1,15 @@
1
+# The Cyclone 🎢
2
+# Codédex
3
+
4
+height = 250
5
+credits = 10
6
+with_taller_person = False
7
8
+if height >= 137 and credits >= 10:
9
+ print("Enjoy the ride!")
10
+elif height < 137:
11
+ print("You are not tall enough to ride.")
12
+elif credits < 10:
13
+ print("You don't have enough credits to ride.")
14
+else:
15
+ print("Invalid data.")
3-control-flow/15_the_cyclone.py renamed to 3-control-flow/15_the_cyclone_2.py
@@ -15,4 +15,4 @@
print("Enjoy the ride!")
16
17
if credits < 10:
18
- print("You don't have enough credits to ride.")
0 commit comments