Christopher Spears wrote:

> my_str = raw_input("Enter a string: ")
>     
> string_list = []
> 
> for s in my_str:
>     string_list.append(s)

This can be written:
string_list = list(my_str)

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to