Share your repls and programming experiences

← Back to all posts
#Задача 5.14. Прогрессивный налог 2
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
dedichpgu