Advertisement
Guest User

Untitled

a guest
Nov 19th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. print("Juice Calculator 0.1")
  2. amt = int(input("How many mls of juice are you making?: "))
  3. nicotine = int(input("What strength is the Nicotine concentrate?: "))
  4. #nicotinepg = int(input("What % of the Nicotine is PG?: "))
  5. targetnic = float(input("What is your target mg Nicotine level?: "))
  6. #targetpg = int(input("What is your target PG level?: "))
  7. nicotinebase = (amt * targetnic)/nicotine
  8. string = "You need to add {}mls of Nicotine to your juice."
  9. output = string.format(nicotinebase)
  10. print(output)
  11. input("Press enter to close program")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement