Answers for "how to read multiple value froma single input python"

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

get multiple inputs in python

x = list(map(int, input("Enter multiple values: ").split()))
print("List of students: ", x)
Posted by: Guest on December-25-2021

Code answers related to "how to read multiple value froma single input python"

Python Answers by Framework

Browse Popular Code Answers by Language