Skip to content

Instantly share code, notes, and snippets.

@FerdinaKusumah
Last active December 5, 2019 01:49
Show Gist options
  • Save FerdinaKusumah/42d2b7c85799a02c56fae717f28ebd5c to your computer and use it in GitHub Desktop.
Save FerdinaKusumah/42d2b7c85799a02c56fae717f28ebd5c to your computer and use it in GitHub Desktop.
Single string from list
"""Join list to single string"""
arr = ["Python", "is", "awesome", "and", "i", "love", "it"]
print(" ".join(arr))
# Python is awesome and i love it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment