kb1...@aim.com wrote:
I know, I'm a total noob (started yester day)
But when I enter this code:
x = 1
if x>0:
    a = raw_input ("Type something in...I will echo it:")
    print a
    x=x+1
it does not loop..am I missing something here?

You are missing a looping statement. In Python they are for or while, not if.

Also realize the above, when converted to a while loop will never terminate, since i keeps growing.

--
Bob Gailer
Chapel Hill NC
919-636-4239
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to