Esempio n. 1
0
print(bank)

# BankAccount
print()
pl_01.deposit(200)
pl_01.withdraw(300)
print(pl_01)

try:
  pl_01.withdraw(50000)
except AccountException as e:
  print('Error:', e)

print()
print(pl_01)
pl_01.close()
try:
  pl_01.close()
except AccountException as e:
  print('Error: ', e)
print(pl_01)

# INT
print()
print(int_01)
int_01.withdraw(5000)
print(int_01)

# COVID
print()
print(covid_01)