new_contents: class Solution(object):
      def searchInsert(self, nums, target):
          """
          :type nums: List[int]
          :type target: int
          :rtype: int
          """
          lo = 0
          hi = len(nums)
          
          while lo < hi:
              mid = lo + (hi - lo) // 2
              
              if nums[mid] >= target:
                  hi = mid
              else:
                  lo = mid + 1
                  
          return lo
  
subject: Create solution.py