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