Skip to content

Commit 800a715

Browse files
Add files via upload
1 parent bd68bc4 commit 800a715

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pyhton_study_1/page12/script.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
money = 2
2+
apple_price = 4
3+
4+
if money >= apple_price:
5+
print('You can buy an apple')
6+
# When the condition above is False, print 'You do not have enough money'
7+
else:
8+
print("You do not have enough money")
9+

0 commit comments

Comments
 (0)