text.split
just returns an instance of a built-in python method.
>>> text.split
<built-in method split of str object at 0x10c0b36c0>
If you want to use the split method, you need to do text.split()
(with the parentheses). in any case, this method does not do what you are looking for - it will return a list with one element:
>>> text.split()
['hello my name is ana']
To convert the string to a list of characters, use list(text)
:
>>> list(text)
['h', 'e', 'l', 'l', 'o', ' ', 'm', 'y', ' ', 'n', 'a', 'm', 'e', ' ', 'i', 's', ' ', 'a', 'n', 'a']
However, in any case, simply replacing characters in the string is much easier than that, and should not require converting the string to a list.
>>> text.replace('a', 'b')
'hello my nbme is bnb'