It's basically correct but you need to convert the raw_input to integer.
c=0
d=int(raw_input("input number limit: "))
while 1:
c = c + 1
if c == d:
break
print c
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor
