Skip to content

How do i convert a list to a string in Python?

lines2 = " ".join(lines) 	# Converts the list to a string.
							# This should work for writing to a file
See also  CSS code snippet - How to apply on react chartjs?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.