Advertisement
Guest User

Python Syntax error line 11

a guest
Dec 14th, 2015
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. #START OF CALCULATOR CODE#
  2. print(input("Thank you for calling how may I help you?"))
  3. name = input("Okay Whats your name?")
  4. print (input("Thank you " + name + " And can I have your number?"))
  5. print (input("Do you live around the 84041 area??"))
  6. if "Yes" or "":
  7. print "Okay, " + name + " Dilivery time will be 30 mins"
  8. print (input("Would you like a 12 Inch pizza with that?")
  9. if "Yes" or ""
  10. print "Okay, " + name + " Your pizza is now being made and will be dilivered to you soon."
  11. basepizza = 5
  12. basecharge = 5
  13. diliveryprice = 6.5
  14. print ("Okay, Your total cost comes out to",basepizza,diliveryprice,basecharge)
  15. print "Thank you!"
  16. if "No":
  17. print int(input("How many inches would you like?")
  18. if inches>12:
  19. inchprice = 0.5
  20. inchprice = (inches/2)+inchprice*(inchprice+0.5)
  21. basecharge = 5.0
  22. diliveryprice = 6.5
  23. print ("Okay " + name + " Your total cost comes out to", inchprice,diliveryprice,basecharge)
  24. print "Thank you!"
  25. else:
  26. if "No":
  27. print "Okay, " + name + " Dilivery time will be 45Mins"
  28. print (input("Would you like a 12 inch pizza with that?")
  29. if "Yes" or "":
  30. print "Okay, Your pizza is now being made and will be dilivered too you shortly. Thank you!"
  31. basepizza = 5
  32. basecharge = 5.0
  33. diliveryout = 7.5
  34. print ("Your toal cost is"basepizza,diliveryprice,basecharge)
  35. print "Thank you!"
  36. if "No":
  37. print int(input("How many inches would you like?")
  38. if inches>12:
  39. inchprice = 0.5
  40. inchprice = (inches/2)+inchprice*(inchprice+0.5)
  41. basecharge = 5.0
  42. diliveryout = 7.5
  43. print ("You're total cost will come out to",inchprice,diliveryout,basecharge)
  44. print "Thank you!"
  45. #END OF CALCULATOR CODE. ENJOY#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement