August 5th, 2004, 05:19 AM
Join Date: Jul 2004
Time spent in forums: < 1 sec
Reputation Power: 0
help,very easy question i think
I have a list like this list =[aaa.123,bbb,456]
I want to split with "." and assin each part of list to a new list like mylist0 = [aaa,123] and mylist1 =[bbb,456]
so I do
i = 0
while i < len(list):
s = list[i]
But i got error "can't assign to operator".
Could anyone help me slove this problem?