0

The list is:

key =['!"c5Ha:m']

how do i split it into

      ['!','"','c','H','a',':','m'] 

in order to convert it into ASCII code.

katie
  • 21
  • 2

1 Answers1

2

Call list on the item in the list:

>>> list(key[0])
['!','"','c','H','a',':','m']
Aaron Christiansen
  • 11,584
  • 5
  • 52
  • 78