how to take multiple input in single line in python 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)