Im reading "Core Python Programming 2nd Edition", They ask me to print a string, one character at a time using a "while" loop.
I know how the while loop works, but for some reason i can not come up with an idea how to do this. I've been looking around, and only see examples using for loops.
So what i have to do:
user gives input:
text = raw_input("Give some input: ")
I'm quite sure, that the internet is full of python while-loops, but one example:
i=0 while i < len(text): print text[i] i += 1