Re: [Tutor] newbie 'while' question
by Zak Arntson other posts by this author
Jun 30 2003 10:41PM messages near this date
Re: [Tutor] newbie 'while' question
|
Re: [Tutor] newbie 'while' question
> Which works great. I'm still stuck on how to do Zak's method of
> manipulating the string, but starting to feel better about 'while' now.
>
> Thanks,
> Matt
Here's some code, missing stuff:
s = raw_input('> ')
while s: # when will the while loop be done?
print s[??] # ?? is some value
s = ?? # you want to change s
---
Zak Arntson
www.harlekin-maus.com - Games - Lots of 'em
_______________________________________________
Tutor maillist - Tutor@[...].org
http://mail.python.org/mailman/listinfo/tutor
Thread:
Matthew Richardson
Danny Yoo
Matthew Richardson
Kalle Svensson
Eric L Howard
Danny Yoo
Matthew Richardson
Matthew Richardson
Matthew Richardson
Danny Yoo
Matthew Richardson
Danny Yoo
Zak Arntson
Zak Arntson
Zak Arntson
Zak Arntson
|