print("Enter the array:\n") userInput = input().splitlines() print(userInput)
import sys userInput = sys.stdin.readlines()