Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python3.4
- print("Entrez votre revenu net imposable 2015")
- r = input()
- if (r > 9700):
- if (r > 26791):
- if (r > 71826):
- if (r > 152108):
- i = (r - 152108) * 45 / 100 + 2392.74 + 13510.50 + 32915.62
- print "Imposition", i
- else:
- i = (r - 71826) * 41 / 100 + 2392.74 + 13510.50
- print "Impot :", i
- else:
- i = (r - 26791) * 30 / 100 + 2392.74
- print "Impot :", i
- else:
- i = (r - 9700) * 14 / 100
- print "Impot :", i
- else:
- print "Impot : 0"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement