If prompting the user doesn't matter, this is slightly shorter than
eval for 3 or more:
It's also shorter even if prompting is not ok:
Sadly, xnor's idea doesn't save anything for 2 inputs as it is still longer (19 bytes). However if you have some string (or appropriate iterable) with the appropriate length already (because magic?) then it could be shorter.
xnor found an example of a magic string for 3 inputs in Python 2 only:
This also requires that the prompts not be important, though.
This trick actually helps to save bytes for large numbers of inputs by using
1eX notation (getting x+3 inputs):
map function performs the function it is passed on each element of the iterable that is also passed to it, and returns the list (or map object) containing the results of these calls. For the first example, the map could be decomposed to:
[input(1), input(1), input(1)]