Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

one line input in python

num1, num2 = map(int, input().split())
Comment

input in one line python

a, b = [int(x) for x in input().split()]
print(a+b)
Comment

PREVIOUS NEXT
Code Example
Python :: how to run function on different thread python 
Python :: python string exclude non alphabetical characters 
Python :: python if else short version 
Python :: python discord input 
Python :: flask return html 
Python :: pandas read csv as strings 
Python :: python create random matrix 
Python :: how to print alternate numbers in python 
Python :: python better while loop that count up 
Python :: python split list of tuples in two lists 
Python :: drop columns pyspark 
Python :: python find closest value in list to zero 
Python :: rename files in a folder python 
Python :: np replace nan 
Python :: python watchgod 
Python :: python sftp put file 
Python :: replace url with text python 
Python :: printing a range of no one line in python 
Python :: dire Bonjour en python 
Python :: plt plot grid on 
Python :: convert from epoch to utc python 
Python :: df.shape 0 
Python :: tkinter remove frame 
Python :: playsound moudle python 
Python :: python pearson correlation 
Python :: tkinter entry read only 
Python :: encrypt and decrypt python 
Python :: python selenium save cookies 
Python :: distribution plot with curve python 
Python :: delete index in elasticsearch python 
ADD CONTENT
Topic
Content
Source link
Name
2+8 =