Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.41 KB | None | 0 0
  1. food1=input("Enter 1st food:")
  2. food2=input("Enter 1st food:")
  3.  
  4. print("new food is: "+food1+" "+food2)
  5.  
  6.  
  7. bill=int(input("Enter total bill: "))
  8.  
  9. tip1=bill+(bill*15)/100
  10. tip2=bill+(bill*20)/100
  11.  
  12. print("15% tip is:",tip1)
  13. print("15% tip is:",tip2)
  14.  
  15. base=int(input("base price: "))
  16.  
  17. tax=(base*5)/100
  18. license=(base*6)/100
  19.  
  20. dealer=400
  21. dest=500
  22.  
  23. print("actual price is: ", base+tax+license+dealer+dest)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement