Answers for "input multiple values in input python"

3

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

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

Python Answers by Framework

Browse Popular Code Answers by Language