Queer European MD passionate about IT

bank.py 251 B

123456789101112
  1. def main():
  2. greeting = input("Greeting:\t\t").lower().strip()
  3. if greeting.startswith("hello"):
  4. print("$0")
  5. elif greeting.startswith("h"):
  6. print("$20")
  7. else:
  8. print("$100")
  9. if __name__ == "__main__":
  10. main()