0
I do not know how to solve this problem, the problem asks me between several inputs at once. example:
10 12
10 14
100 200
And after that give the difference between them line by line, I was trying like this:
while True:
try:
a,b=[int(x) for x in input().split()]
print(abs(b - a))
except EOFError:
break
How to solve?
Brother, it wasn’t very clear your problem
– Ronaldo Souza
Your code works: https://ideone.com/bWofJG
– hkotsubo