list_example = "['0101612-0', '0101611-2', '0101610-4', '0101608-8', '0101607-0', '0101606-2', '0100786-3', '0100784-8', '0100783-0', '0100782-2', '0100781-4', '0100780-6', '0100779-8', '0100778-0', '0100777-2']"
I want to convert above into this:
list_example = ['0101612-0', '0101611-2', '0101610-4', '0101608-8', '0101607-0', '0101606-2', '0100786-3', '0100784-8', '0100783-0', '0100782-2', '0100781-4', '0100780-6', '0100779-8', '0100778-0', '0100777-2']
I tried following: list_example = list_example.split(',')
which resulted to:
["['0101612-0'",
" '0101611-2'",
" '0101610-4'",
" '0101608-8'",
" '0101607-0'",
" '0101606-2'",
" '0100786-3'",
" '0100784-8'",
" '0100783-0'",
" '0100782-2'",
" '0100781-4'",
" '0100780-6'",
" '0100779-8'",
" '0100778-0'",
" '0100777-2']"]
Which is messy to extract the values from.