string - Seperate one part list into four part list with Python -


the program i've created prints out list:

['2    19   2839475239874 hda']  

it supposed this:

['2','19','2839475239874','hda'] 

so instead of having list 4 parts it, have 1 big part. can separate list, has 4 parts?

thanks! i've been working @ while now, , haven't found answers work.

['2 19 2839475239874 hda'][0].split() 

Comments