DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to separate a string or int with comma in python
string = input('Input') >>> 1,2 print(cord.split(',')) >>>['1', '2']
PREVIOUS
NEXT
Tagged:
#separate
#string
#int
#comma
#python
ADD COMMENT
Topic
COMMENT
Name
7+2 =
Submit