Created
July 24, 2018 13:37
-
-
Save kcha4github/3a08bb75a76fa0aaf165e5131eb94cca to your computer and use it in GitHub Desktop.
Way to output list data divided some string.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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