I'm trying to write a program that takes a string and prints one letter per line. I need to use a while loop based on string length. I googled, so sorry for the newbie question. Thanks!

You must show effort first.

I don't know about anyone else, but I'm getting a little tired of the "I goggled for this" lie http://tinyurl.com/3ldotwl Perhaps we should boycott the too obvious fibs and point them out as above.

Edit: But then I guess that's the same thing, as that's doing the search effort which provides the lazy with the code from the search. Back to pointing out the "we only help those who show effort" links. They are http://www.daniweb.com/software-development/computer-science/threads/573
http://www.daniweb.com/software-development/computer-science/threads/573/3625#post3625
http://www.daniweb.com/software-development/cpp/threads/78223

Any python tutorial should answer the OP's question.

I don't know about anyone else, but I'm getting a little tired of the "I goggled for this" lie http://tinyurl.com/3ldotwl Perhaps we should boycott the too obvious fibs and point them out as above.

Edit: But then I guess that's the same thing, as that's doing the search effort which provides the lazy with the code from the search. Back to pointing out the "we only help those who show effort" links. They are http://www.daniweb.com/software-development/computer-science/threads/573
http://www.daniweb.com/software-development/computer-science/threads/573/3625#post3625
http://www.daniweb.com/software-development/cpp/threads/78223

I'm sorry, I'm not really contributing to the discussion as I'm completely sick of this matter altogether but I just have to say wooeee, I loved that I haven't laughed that hard in a while.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.