Professional Documents
Culture Documents
self.name = name
self.email = email
self.amount = amount
self.amount += amount
else:
self.amount -= amount
def show_details(self):
print("Name:", self.name)
print("Email:", self.email)
while True:
if choice == "create":
break
exit()
while True:
print("4. Exit")
if choice == 1:
account.deposit(amount)
elif choice == 2:
account.withdraw(amount)
elif choice == 3:
account.show_details()
elif choice == 4:
break
else: