Because you subtract 1 from len(numbers) in here:
range(len(numbers)-1) = 3 that is why only 3 iteration happens. Hence you get output as 1 2 3.