I'm trying to get multiple inputs from users and break the loop by End of File(EOF) error.
while True:
try:
n, l, c = map(int,input().split())
except EOFError:
break
But when the user gives multiple inputs and then press Enter the ValuEroor warning has come.
ValueError: not enough values to unpack (expected 3, got 0)
In this scenario, Is there any way to get EOFEroor to break the loop and avoid ValueEoor?