Answers for "How to take multiple input form python"

1

multiple inputs in python

# Reads two numbers from input and typecasts them to int using 
# map function
x, y = map(int, input().split())
Posted by: Guest on April-28-2021
0

How to take multiple input form python

n=input()# no of inputs
n =int(n)
for i in range(n):
  y=input()
  print(y)
Posted by: Guest on June-19-2021

Code answers related to "How to take multiple input form python"

Python Answers by Framework

Browse Popular Code Answers by Language