Skip to content

Instantly share code, notes, and snippets.

@Razzo78
Created October 20, 2017 14:57
Show Gist options
  • Save Razzo78/138ae19ff885b3ffb45396fd62cadc25 to your computer and use it in GitHub Desktop.
Save Razzo78/138ae19ff885b3ffb45396fd62cadc25 to your computer and use it in GitHub Desktop.
Python - Create a string of list numbers separated with comma
myList = range(1, 50)
concatValues = ','.join(map(str, myList))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment