1print("Enter the array:\n")
2userInput = input().splitlines()
3print(userInput)
1# taking multiple inputs at a time separated by comma
2x = [int(x) for x in input("Enter multiple value: ").split(",")]
3print("Number of list is: ", x)
1lines = []
2while True:
3 line = input()
4 if line:
5 lines.append(line)
6 else:
7 break
8text = '\n'.join(lines)
9