why we can’t write like this
numbers=int(input().split())
basically it also converts the input to an integer
Read list of numbers
What the error is telling, is that you can’t convert an entire list into an integer. You could get an index from the list and convert that into an integer.
Eg-
numbers[0]=int(numbers[0])