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

python problom

Name: Anonymous 2009-07-17 14:10

hi im lerning python and i need help with this i try to make lots of ifs but its not working well it looks funny heres my code

c=3

if c==1:
    print'one'
else:
    if c==2:
        print'two'
    else:
        if c==3:
            print'three'
        else:
            if c==4:
                print'four'
            else:
                print'no number'


i want to make one for 1 to 100 but if i keep going it will get to big what do i do help plz

Name: Anonymous 2009-07-19 2:02

>>24
Divisible by: 2, 5. Shitsux. Even 12 would be more usefully divisible, with 2, 3, 4, 6.

But what we ought to do is this thing: convert to base 360 wholesale to unify our system of angle measure with our other calculations.

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