How can I convert this string to list of lists?
- by Phrixus
Hi, what I'm trying to do is..
if a user types in [[0,0,0], [0,0,1], [1,1,0]] and press enter,
the program should convert this string to several lists;
one list holding [0][0][0], other for [0][0][1], and the last list for [1][1][0]
I thought tuple thing would work out but no luck... :(
I started phython yesterday -- (I'm C / C++ guy.) and
cannot use the full advantages of this language...
Does python have a good way to handle this? I need help~ :'(