Answers for "how to take multiple input in list in python"

4

taking multiple input in python

only_str = input().split() #only str
define_type = list(map(int, input().split())) #int, float, str
Posted by: Guest on February-21-2021
0

input multiple values in python

mA,mB = map(float,input().split()) #if float data type
mA,mB = map(int,input().split()) #if int data type
Posted by: Guest on August-19-2021
0

how to take multiple input in list in python

x = list(map(int, input().split()))
print(x)
Posted by: Guest on April-30-2022

Code answers related to "how to take multiple input in list in python"

Python Answers by Framework

Browse Popular Code Answers by Language