Sept. 13 Daily Coding Challenge in Python

The following solution is returning all fails in the FCC IDE, but passing in external Online Python IDE (https://www.online-python.com/) with same test cases:

def find_missing_numbers(arr):
    
    missing_numbers = []
    largest_num = 0
    
    for number in numbers:
        if number > largest_num:
            largest_num = number
    
    print(largest_num)

    for i in range(1, largest_num):
        if i not in arr and i not in missing_numbers:
            missing_numbers.append(i)

    print(missing_numbers)
    return missing_numbers.sort()

I’m using Firefox browser version 142.0.1 (aarch64)

try calling the function in the editor to test it, you will see an error you need to solve

the code you have in the other online editor is different than the code you have in the freecodecamp editor