"int(input)" python multi line input 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)