+ 5
There is no mistake. if your meaning the eof error. Its because the program wants 6 inputs. its because its asking two inputs in one iteration of the for loop. the for loop runs for 3 times. and each time it asks two numbers. in total it is 6 numbers. so you should give in 6 numbers.
7th Oct 2020, 1:49 PM
Steve Sajeev
Steve Sajeev - avatar