Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- meal = float(input("How much was your meal?"))
- tip = .12
- meal = meal * tip
- total = meal + meal * tip
- print ("Your tip is %s" % meal)
- print ("Your total is %s" % total)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement