Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #START OF CALCULATOR CODE#
- print(input("Thank you for calling how may I help you?"))
- name = input("Okay Whats your name?")
- print (input("Thank you " + name + " And can I have your number?"))
- print (input("Do you live around the 84041 area??"))
- if "Yes" or "":
- print "Okay, " + name + " Dilivery time will be 30 mins"
- print (input("Would you like a 12 Inch pizza with that?")
- if "Yes" or ""
- print "Okay, " + name + " Your pizza is now being made and will be dilivered to you soon."
- basepizza = 5
- basecharge = 5
- diliveryprice = 6.5
- print ("Okay, Your total cost comes out to",basepizza,diliveryprice,basecharge)
- print "Thank you!"
- if "No":
- print int(input("How many inches would you like?")
- if inches>12:
- inchprice = 0.5
- inchprice = (inches/2)+inchprice*(inchprice+0.5)
- basecharge = 5.0
- diliveryprice = 6.5
- print ("Okay " + name + " Your total cost comes out to", inchprice,diliveryprice,basecharge)
- print "Thank you!"
- else:
- if "No":
- print "Okay, " + name + " Dilivery time will be 45Mins"
- print (input("Would you like a 12 inch pizza with that?")
- if "Yes" or "":
- print "Okay, Your pizza is now being made and will be dilivered too you shortly. Thank you!"
- basepizza = 5
- basecharge = 5.0
- diliveryout = 7.5
- print ("Your toal cost is"basepizza,diliveryprice,basecharge)
- print "Thank you!"
- if "No":
- print int(input("How many inches would you like?")
- if inches>12:
- inchprice = 0.5
- inchprice = (inches/2)+inchprice*(inchprice+0.5)
- basecharge = 5.0
- diliveryout = 7.5
- print ("You're total cost will come out to",inchprice,diliveryout,basecharge)
- print "Thank you!"
- #END OF CALCULATOR CODE. ENJOY#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement