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

Pages: 1-

can someone help me with this code for python

Name: Anonymous 2010-06-14 19:40


x = raw_input ("enter name: ")
print "hey " + x
y = input ("whats your age?: ")
print "so you are " + y "?"
z = input("1 for yes or 2 for no: ")
for
if {(z = 1)
print "good"}
if {(z = 2)
print "fuck"}
raw_input ("press<enter>")

Name: Anonymous 2010-06-16 7:06

What do you need help with?

Name: Anonymous 2010-06-16 11:34

asking the user to enter the name, then age. it then prompts the user to type y for yes and n for no to verify if correct. now if it is correct then said good, but if it's wrong then it would said fuck.

Name: Anonymous 2010-06-16 11:52

    name = raw_input("enter name: ")
    print "hey %s" % x
    age = raw_input("how old are you?: ")
    response = raw_input("so you are %s? [y/n] ")
    if response[0] == 'y':
        print "good!"
    elif response[0] == 'n':
        print "fuck"
    raw_input("press enter.")

no thanks needed.

Name: Anonymous 2010-06-16 12:00

fuck i fucked up.

    name = raw_input("enter name: ")
    print "hey %s" % x
    age = raw_input("how old are you?: ")
    response = raw_input("so you are %s? [y/n] " % age)
    if response[0] == 'y':
        print "good!"
    elif response[0] == 'n':
        print "fuck"
    raw_input("press enter.")

Name: Anonymous 2010-06-25 14:37

have you tried using B for better performance? they don't do raw.

Name: Anonymous 2010-06-28 10:13

what do you mean?

Name: cy7891LT 2010-07-01 2:16

a5



<a href="http://www.clothing4edhardy.com/"> ed hardy clothing</a>
99% Cotton 1% Spandex,two pocket in the back,mid-fit Amity facilitates genital circulation like you havent felt in years, but wont make you look like a backup dancer in a rap video from 1991.
<a href="http://www.clothing4edhardy.com/"> ed hardy bags</a>The cotton/spandex mix means you cant make any more excuses about how you can move better in tight-ass stretchy jeans,ed hardy jeans plays an imprtant part in ed hardy clothing
<a href="http://www.clothing4edhardy.com/"> ed hardy bags</a>

<a href="http://www.clothing4edhardy.com/">ed hardy sale</a>
A9-3



<a href=" http://www.coachbag.us/"> coach outlet</a> Fashion at its prettiest.
<a href=" http://www.coachbag.us/"> coach bags</a>


<a href=" http://www.coachbag.us/"> coach handbags</a>
Silky crinkle in the watercolor feel of Spring hues.

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