Answers for "two inputs in same line python"

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
2

how to take two inputs in a single line in python

# taking multiple inputs at a time separated by comma
x = [int(x) for x in input("Enter multiple value: ").split(",")]
print("Number of list is: ", x)
Posted by: Guest on August-31-2021

Code answers related to "two inputs in same line python"

Python Answers by Framework

Browse Popular Code Answers by Language