Answers for "python function with two input values"

0

multiple variable input in python

# for str
n1, n2 = input().split()

#for int
x, y = map(int, input().split())
Posted by: Guest on October-15-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 "python function with two input values"

Python Answers by Framework

Browse Popular Code Answers by Language