For this Question: Given an array of N integers, your task is to find the smallest positive number which is not present in the given array.First line of input contains a single integer N, next line contains N space separated integers depicting the values of array.

Constraints:- 
1 < = N < = 1000000
-10^6 < = Arr[i] < = 10^6Print the smallest positive integer not present in the given array.Sample Input:-
5
-2 1 0 4 5

Sample Output:-
2

Sample Output:-
4
-1 1 2 3

Sample Output:-
4, I have written this Solution Code: def find_missing_number(nums):
    distinct = {*nums}
    index = 1
    while True:
        if index not in distinct:
            return index
        index += 1
try:
    n = int(input())
    arr = list(map(int, input().split()))
    print(find_missing_number(arr))
except:
    pass, In this Programming Language: Python, Now tell me if this Code is compilable or not?