Preparing git repo for final project
This commit is contained in:
12
problems/pset1/bank/bank.py
Normal file
12
problems/pset1/bank/bank.py
Normal file
@@ -0,0 +1,12 @@
|
||||
def main():
|
||||
greeting = input("Greeting:\t\t").lower().strip()
|
||||
if greeting.startswith("hello"):
|
||||
print("$0")
|
||||
elif greeting.startswith("h"):
|
||||
print("$20")
|
||||
else:
|
||||
print("$100")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
Reference in New Issue
Block a user