Skip to content
Sign upLog in
← Back to Community

#Задача 5.14. Прогрессивный налог 2

Profile icon
dedichpgu

income = int(input('Введите Ваш доход: '))
taxes = 0
if income > 50000 :
taxes = ( income - 50000 ) * 0.3
income = 50000
if 50000 >= income > 10000 :
taxes += ( income - 10000 ) * 0.2
income = 10000
taxes += 0.13 * income
print(taxes,' - ваш налог.')

Voters
Profile icon
Evgeniy0811
Profile icon
Qwerty1One
Profile icon
SaptaNTeaM
Profile icon
Skorch73
Profile icon
dedichpgu