Created
April 9, 2018 15:27
-
-
Save caffeine-potent/bf2e56f4e29803de3d0ddc80268f9583 to your computer and use it in GitHub Desktop.
ContentAccomplishedHashmaps created by caffeine_potent - https://repl.it/@caffeine_potent/ContentAccomplishedHashmaps
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
############### | |
spent = 171.376666667 | |
tax_rate = .10 | |
############### | |
cost = spent / (1 + tax_rate) | |
taxed = spent - cost | |
print("Cost: {}, Taxed: {}".format(cost, taxed)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment