DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how can I print all items in a tuple, separated by commas?
print(", ".join(str(x) for x in last_position))
PREVIOUS
NEXT
Tagged:
#I
#print
#items
#separated
ADD COMMENT
Topic
COMMENT
Name
3+6 =
Submit