(self, nums, target)
return len(nums)
:type nums: List[int]
        :type target: int
        :rtype: int
:type nums: List[int]
        :type target: int
        :rtype: int
: type nums : List [ int ] : type target : int : rtype : int
def searchInsert(self, nums, target):
        """
        :type nums: List[int]
        :type target: int
        :rtype: int
        """
        if not nums:
            return 0
        
        for idx,val in enumerate(nums):
            if val >= target:
                return idx
        
        return len(nums)
def searchInsert ( self , nums , target ) : if not nums : return 0 for idx , val in enumerate ( nums ) : if val >= target : return idx return len ( nums )