Answers for "how to take multiple inputs from terminal python in a single line"

1

two input in one line python

#two input in one line python

X, N = [int(x) for x in input().split()]
Posted by: Guest on November-08-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 take multiple inputs from terminal python in a single line"

Python Answers by Framework

Browse Popular Code Answers by Language