human
Write a python function to find the smallest missing number from a sorted list of natural numbers. Here is a solution in Python:
assistant
#Here is Python code to find the smallest missing number from a sorted list of natural numbers.
 def find_First_Missing(array,start=0,end=None):
    if end is None:
      end = len(array) - 1   
    if (start > end): 
        return end + 1
    if (start != array[start]): 
        return start; 
    mid = int((start + end) / 2) 
    if (array[mid] == mid): 
        return find_First_Missing(array,mid+1,end) 
    return find_First_Missing(array,start,mid)