take multiple string inputs python 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())