I have a list in a file,
looks like this
c4a24534,2434b375,e750c718, ....
I have split at "," and brought the below list.
x=
['c4a2', '4534']
['2434', 'b375']
['e750', 'c718']
I need to make two new lists out of this
i=
'c4a2'
'2434'
'e750'
and
q=
'4534'
'b375'
'c718'
I have tried :
for x in line:
x = [i.split() for i in x]
With this I am splitting the x .This gives me "i" part but how do i get the rest "q" ?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…