Last active
February 16, 2019 13:54
-
-
Save martync/0430a1f9c650d457489a15a6b1094e69 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
taxe_carburant = 0.9 | |
tarif_baril = 110 | |
litre_par_baril = 159 | |
# 2010 | |
prix_litre = (tarif_baril + tarif_baril * taxe_carburant) / litre_par_baril | |
# 2011 | |
# Hausse des taxes | |
taxe_carburant *= 1.12 | |
prix_litre = (tarif_baril + tarif_baril * taxe_carburant) / litre_par_baril | |
# 2012 | |
# Hausse du baril | |
tarif_baril *= 1.218 | |
prix_litre = (tarif_baril + tarif_baril * taxe_carburant) / litre_par_baril | |
# 2013 | |
# Hausse des taxes et du baril | |
tarif_baril *= 0.97 | |
taxe_carburant *= 1.29 | |
prix_litre = (tarif_baril + tarif_baril * taxe_carburant) / litre_par_baril | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment