CCCPaste

Python Godzilla_vs_Kong Не е решена

budget = float(input())
numstatist = int(input())
price_clothing = float(input())

discount = 0
dekor = budget * 10 / 100
price_statist = numstatist * price_clothing

#total_sum = dekor + price_statist

if numstatist > 150:
    price_statist = price_statist * 0.90
    total_sum = price_statist + dekor
    diff = abs(budget - total_sum)
    if budget < total_sum:
        #diff = abs(budget - total_sum)
        print("Not enough money!")
        print(f"Wingard needs {diff:.2f} leva more.")
    else:
        #result = abs(budget - total_sum)
        print("Action!")
        print(f"Wingard starts filming with {diff:.2f} leva left.")
        
        #Не е решена