hi
i have a list with contents like this
alist = ['>QWER' , 'askfhs', '>REWR' ,'sfsdf' , '>FGDG',
'sdfsdgffdgfdg' ]
how can i "convert" this list into a dictionary such that
dictionary = { '>QWER':'askfhs ' , '>REWR' : 'sfsdf' , '>FGDG',
'sdfsdgffdgfdg' }
thanks
i have a list with contents like this
alist = ['>QWER' , 'askfhs', '>REWR' ,'sfsdf' , '>FGDG',
'sdfsdgffdgfdg' ]
how can i "convert" this list into a dictionary such that
dictionary = { '>QWER':'askfhs ' , '>REWR' : 'sfsdf' , '>FGDG',
'sdfsdgffdgfdg' }
thanks
Comment