Skip to content

Commit 999fb64

Browse files
committed
bank
1 parent e76b6b3 commit 999fb64

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Problem Set 1/bank/bank.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
greeting = input("Greeting: ").lower().strip()
2+
3+
if "hello" in greeting :
4+
print("$0")
5+
elif greeting.startswith('h'):
6+
print("$20")
7+
else:
8+
print("$100")

0 commit comments

Comments
 (0)