Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x=int(input('Kui suur on isa palk? : '))
- y=int(input('Kui suur on ema palk? : '))
- z=int(input('Mitu last peres on? : '))
- if x<=144:
- x_neto=x
- else:
- x_neto=0.762*x
- if y<=144:
- y_neto=y
- else:
- y_neto=0.762*y
- lapsetoetus=z*20
- sissetulek=x_neto+y_neto+lapsetoetus
- print('Pere sissetulek on ' + str(sissetulek) + '.')
Add Comment
Please, Sign In to add comment