I am writing a python code for a class which needs multiple lines of inputs.
For example I need the input to be in the format:
3 14
12 10
12 5
10 5
When entering this manually on the terminal, I do not know how to signal an end of input.
I have been working around it by entering the inputs in txt files and reading these.
.as a line.)