Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

how to separate a string or int with comma in python

 string = input('Input')
    >>> 1,2
    print(cord.split(','))
    >>>['1', '2']
Comment

PREVIOUS NEXT
Code Example
Python :: drf default pagination 
Python :: ipython read audio file 
Python :: how to add value to to interger in python 
Python :: set python 3 as default ubuntu 
Python :: calculate vif in python 
Python :: python max value of list of tuples 
Python :: drop nulll python 
Python :: python program to find factorial 
Python :: python sorted lambda 
Python :: export_excel file python 
Python :: python cmath constants 
Python :: how to import pygame 
Python :: check if back is pressed python 
Python :: beautifulsoup find_all by id 
Python :: blank=True 
Python :: download a file from url python 
Python :: python empty text file 
Python :: how to create a role and give it to the author discord.py 
Python :: argumrnt with reverse django 
Python :: How can I install XGBoost package in python on Windows 
Python :: how to get location using python 
Python :: escape brackets in f string 
Python :: login_required 
Python :: python find index of minimum in list 
Python :: post request in python flaks 
Python :: ipynb to py online 
Python :: convert image to grayscale opencv 
Python :: how to do date time formatting with strftime in python 
Python :: python undefine variable 
Python :: python sort dict by key 
ADD CONTENT
Topic
Content
Source link
Name
4+3 =