Skip to content

Instantly share code, notes, and snippets.

@kcha4github
Created July 24, 2018 13:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kcha4github/3a08bb75a76fa0aaf165e5131eb94cca to your computer and use it in GitHub Desktop.
Save kcha4github/3a08bb75a76fa0aaf165e5131eb94cca to your computer and use it in GitHub Desktop.
Way to output list data divided some string.
# -*- coding: utf-8 -*-
values = [1, 2, 3, 4, 5]
strs = map(str, values)
print(" ".join(strs))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment