^Bart wrote:

>> Why?
> 
> It's a school test, now we should use just what we studied, if than,
> else, sequences, etc.!
> 
> ^Bart

Hint: you can iterate over the characters of a string

>>> for c in "hello":
...     print(c)
... 
h
e
l
l
o




-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to