profit = int(input('Введите прибыль:'))
if profit < 10000:
tax = profit * 13 / 100
print('Ваш прогрессивый налог (13%):', tax)
elif profit > 50000:
subtraction = profit - 50000
tax = subtraction * 30 / 100
profit2 = subtraction
tax_3 = profit2 - 10000
tax_4 = tax_3 * 20 / 100
profit3 = 10000
tax_5 = profit3 * 13 / 100
sum_procent = (tax + tax_4 + tax_5)
print('Ваш прогрессивый налог (30%):', sum_procent)
else:
profit < 50000
tax = profit - 10000
tax2 = tax * 20 / 100
profit_2 = 10000
tax3 = profit_2 * 13 / 100
sum_procent = tax2 + tax3
print('Ваш прогрессивый налог (20%):', sum_procent)