Hi, @coreninja83990 ,
There are several changes that need to be made for your code to work.
It would be best if your posted code were formatted, so that we could see its indentation. See How do I format code in my posts?.
te as an empty
list, rather than as a
te = 
Along with that change, instead of this ...
... you would
append characters to
After the loop,
join the characters back together into a