code: def snils(self) -> str:
          
          numbers = []
          control_codes = []
  
          for i in range(0, 9):
              numbers.append(self.random.randint(0, 9))
  
          for i in range(9, 0, -1):
              control_codes.append(numbers[9 - i] * i)
  
          control_code = sum(control_codes)
          code = ''.join(str(number) for number in numbers)
  
          if control_code in (100, 101):
              snils = code + '00'
              return snils
  
          if control_code < 100:
              snils = code + str(control_code)
              return snils
  
          if control_code > 101:
              control_code = control_code % 101
              if control_code == 100:
                  control_code = 0
              snils = code + '{:02}'.format(control_code)
              return snils
docs: Generate snils with special algorithm.
  
          :return: SNILS.
  
          :Example:
              41917492600.