I use Python 3.6 and I try to read an entry data of several lines to store it in a variable and then manage each line in a list for example. The structure of the code is something simple like this:
print("Escriba la lista de ciudades de la siguiente forma:")
print("Ciudad origen | Ciudad destino | Ruta | Distancia")
cad.append(input())
I want to enter 3 lines for example (without pressing ENTER, copying and pasting for example)
Line 1
Line 2
Line 3
And I want python to store the 3 lines in a variable