Advertisement
Guest User

Untitled

a guest
Feb 6th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. #!/usr/bin/python3.4
  2.  
  3. print("Entrez votre revenu net imposable 2015")
  4. r = input()
  5.  
  6. if (r > 9700):
  7. if (r > 26791):
  8. if (r > 71826):
  9. if (r > 152108):
  10. i = (r - 152108) * 45 / 100 + 2392.74 + 13510.50 + 32915.62
  11. print "Imposition", i
  12. else:
  13. i = (r - 71826) * 41 / 100 + 2392.74 + 13510.50
  14. print "Impot :", i
  15. else:
  16. i = (r - 26791) * 30 / 100 + 2392.74
  17. print "Impot :", i
  18. else:
  19. i = (r - 9700) * 14 / 100
  20. print "Impot :", i
  21. else:
  22. print "Impot : 0"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement