def put_money():
history = []
balance = 0
while True:
command = input("Enter command, please:")
command = command.lower()
if command.startswith("put"):
print("Thank you, money has arrived")
com, val, *_ = command.split()
balance = balance + int(val)
history.append(f"\t + {val}")
-
Вопрос задан
-
10 просмотров