python take multiple elements from input code example
Example: multiple inputs in python
# Reads two numbers from input and typecasts them to int using
# map function
x, y = map(int, input().split())
# Reads two numbers from input and typecasts them to int using
# map function
x, y = map(int, input().split())