Is it possible to take multiple newline inputs into multiple variables & declare them as int all at once?
To explain further what I am trying to accomplish, I know this is how we take space separated input using map:
>>> a, b = map(int, input().split())
3 5
>>> a
3
>>> b
5
Is there an equivalent for a newline? Something like:
a, b = map(int, input().split("\n"))
Rephrasing: I am trying to take multiple integer inputs, from multiple lines at once.