multiple inputs in python single line code example
Example: multiline input in python
print("Enter the array:\n")
userInput = input().splitlines()
print(userInput)
print("Enter the array:\n")
userInput = input().splitlines()
print(userInput)