I need to join something like this:
["Círculo", 23]
["Triángulo, 25, 19, "dos"]
I have seen this post -> Joining a list that has Integer values with Python
But solutions like:
', '.join(map(str, myList)) or ', '.join(str(x) for x in list_of_ints)
does not work for me, because special character 'í' makes it fail:
UnicodeEncodeError: 'ascii' codec can't encode character ... in position ...: ordinal not in range(128)
So what is the pythonic way to solve it? I do not want to check types... Thx!