Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Juice Calculator 0.1")
- amt = int(input("How many mls of juice are you making?: "))
- nicotine = int(input("What strength is the Nicotine concentrate?: "))
- #nicotinepg = int(input("What % of the Nicotine is PG?: "))
- targetnic = float(input("What is your target mg Nicotine level?: "))
- #targetpg = int(input("What is your target PG level?: "))
- nicotinebase = (amt * targetnic)/nicotine
- string = "You need to add {}mls of Nicotine to your juice."
- output = string.format(nicotinebase)
- print(output)
- input("Press enter to close program")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement