0

So, I need to change a string e.g. STRING and change it into ['S', 'T', 'R', 'I', 'N', 'G']

So far, I've tried the following: o.split('') and o.split() how would I go about doing this?

Pol
  • 39
  • 9

1 Answers1

0

Simple, as follows:

my_str = 'STRING'
chars = list(my_str)