difficult to see from an image, please copy paste your code to the forum
looking at the error message, your list contains the same character over and over again, so something is wrong with loop/what you are appending to list
str() to cast list to string won’t work. You need to
.join() the list into a string
When we convert a list to a string, we get a list in quotes.
str(['a', 'b', 'c', 'd']) # => "['a', 'b', 'c', 'd']"
join to combine terms in a list into a single string.
In your code above it looks like the iterator variable is actually the numeral,
1. Try using lowercase
i or any other letter.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.