Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

MCPYTHONS

Name: Anonymous 2013-02-24 17:11

Need to finish this billing program

from math import *
import random

meal=[1,2,3,4,5]
price=[6.99,7.99,4.19,3.99,12.99]
tax=.05
extra=.5
bill=0

print "Welcome to McPythons\n"

print "Enter 1 for Combo Meal 1"
print "Enter 2 for Combo Meal 2"
print "Enter 3 for Combo Meal 3"
print "Enter 4 for Combo Meal 4"
print "Enter 5 for Combo Meal 5"
print "SuperSize for just 50% more!"

need to use a loop asking for the following:
what combo meal
how many
if they want to supersize

then i need to add up the bill
compute a 5% tax
print the pre-tax bill
print the amount of tax
print the final bill

Name: Anonymous 2013-02-24 17:15

The answer to this very problem is here!
http://mitpress.mit.edu/sicp/full-text/book/book.html

Name: Anonymous 2013-02-24 17:22

>>2
i have a question for a long time, man and woman on that cover, are they gerald sussman and julie sussman?

Name: Anonymous 2013-02-24 18:05

>>3
No, they are Harold Abelson and Satori Komeiji.

Name: Anonymous 2013-02-24 18:22

huh, she really looks like satori komeiji drawn by zun :3

Name: Anonymous 2013-02-24 23:39

Name: Anonymous 2013-02-24 23:43

>>6
How can someone do that to such a small child? Like, how is that even physically possible? Disgusting and reported.

Name: Anonymous 2013-02-25 0:09

>>6
>Donate a bitcoin

pathetic!

Name: Anonymous 2013-02-25 0:47

>>7
if the link turns out to be something unrelated to CP, I'm going to hunt you down and punch you in the face.

Name: Anonymous 2013-02-25 0:51

>>7
I checked it out, it's unrelated. I fucking hate you for wrongly labelling hidden service links as CP.

Name: Anonymous 2013-02-25 0:56

fuck fuck fuck I clicked it im gonna get v&

>>10-kun lies

Don't change these.
Name: Email:
Entire Thread Thread List