The Most Pythonic Way to Convert a List of Tuples to a String
The most Pythonic way to convert a list of tuples to a string is to use the built-in method str(…). If you want to customize the delimiter string, the most Pythonic way is to concatenate the join() method and the map() function ‘\n’.join(map(str, lst)) to convert all tuples to strings and gluing those together with … Read more