budget float input name input while not name ACTION if len name 15 bud

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
budget = float(input())
name = input()
while not name == 'ACTION':
if len(name) > 15:
budget *= .80
else:
remuneration = float(input())
budget -= remuneration
if budget < 0:
print(f"We need {abs(budget):.2f} leva for our actors.")
break
name = input()
if name == 'ACTION':
print(f"We are left with {budget:.2f} leva.")