Markus Zeindl wrote:
I have got a string from the user, for example "Hi!".
Now I get every character with a loop:
<code>
buffer = ""
for i in range(len(message)):
  ch = message[i-1:i]

for ch in message: ...

is simpler and more idiomatic.

Kent
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to