Python string from list comprehension
You need to join your string like this: UPDATE I didn’t initially have the ‘,’.join(map(str, x)) section in there to turn each tuple into strings. This handles varying length tuples, but if you will always have exactly 2 numbers, you might see gatto’s comment below. The explanation of what’s going on is that we make a list … Read more