numbers = [5,2,3,4,6,8,9,10,11] numbers.sort() sum_of_numbers = sum(numbers) sum_of_numbers_real = sum(range(numbers[0], numbers[-1]+1)) lost_number = sum_of_numbers_real - sum_of_numbers print(lost_number)