Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- item1 = float ( input("Enter price for Item #1 : "))
- item2 = float ( input("Enter price for Item #2 : "))
- item3 = float ( input("Enter price for Item #3 : "))
- item4 = float ( input("Enter price for Item #4 : "))
- item5 = float ( input("Enter price for Item #5 : "))
- subtotal = item1 + item2 + item3 + item4 + item5
- tax = subtotal * .06
- total = subtotal + tax
- print("Subtotal is : %5.2f" % subtotal)
- print("Taxprice is : %5.2f" % tax)
- print("Total price is : %5.2f" % total)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement