for taking multiline input in the python which works as delimeter code example
Example: how to input multiple integers in python
x,y=map(int,input().split())#you can change the int to specify or intialize any other data structures
print(x)
print(y)