Suppose that a and b are integers with a < b How many numbers are in the list a, a+1, a+2.... b? So I thought about doing a-(a-1) to get the first number to one so the list becomes 1,2,3 but i soon realized that does not work
The answer is b - a.