code: 
  
  
  
  '''simple docstring'''
  
  
  
  from math import sqrt
  
  
  
  
  
  
  
  def _lowercase   (  __A       ):
  
  
  
   '''simple docstring'''
  
  
  
   __UpperCamelCase				      =  [1]
   for i in range(2							,int(sqrt(__A       )       ) + 1							,1       ):
    if number % i == 0:
     values.append(__A       )
     if int(number // i       ) != i:
      values.append(int(number // i       )       )
   return sorted(__A       )
  
  
  
  
  
  
  
  def _lowercase   (  __A       ):
  
  
  
   '''simple docstring'''
  
  
  
   return sum(factors(__A       )       ) > n
  
  
  
  
  
  
  
  def _lowercase   (  __A       ):
  
  
  
   '''simple docstring'''
  
  
  
   __UpperCamelCase				      =  factors(__A       )
   __UpperCamelCase				      =  len(__A       )
   __UpperCamelCase				      =  [[0 for i in range(number + 1       )] for j in range(r + 1       )]
   for i in range(r + 1       ):
    __UpperCamelCase				      =  True
  
   for i in range(1							,number + 1       ):
    __UpperCamelCase				      =  False
  
   for i in range(1							,r + 1       ):
    for j in range(1							,number + 1       ):
     if j < values[i - 1]:
      __UpperCamelCase				      =  subset[i - 1][j]
     else:
      __UpperCamelCase				      =  subset[i - 1][j] or subset[i - 1][j - values[i - 1]]
  
   return subset[r][number] != 0
  
  
  
  
  
  
  
  def _lowercase   (  __A       ):
  
  
  
   '''simple docstring'''
  
  
  
   return abundant(__A       ) and not semi_perfect(__A       )
  
  
  if __name__ == "__main__":
      import doctest
  
      doctest.testmod(verbose=True)
      for number in (6_9, 7_0, 7_1):
          print(f'''{number} is {"" if weird(number) else "not "}weird.''')
  
  
  
  
  
  
style_context: 
  
  
  
  '''simple docstring'''
  
  
  
  a__						:			Any										=			{
      '0000': '0',
      '0001': '1',
      '0010': '2',
      '0011': '3',
      '0100': '4',
      '0101': '5',
      '0110': '6',
      '0111': '7',
      '1000': '8',
      '1001': '9',
      '1010': 'a',
      '1011': 'b',
      '1100': 'c',
      '1101': 'd',
      '1110': 'e',
      '1111': 'f',
  }
  
  
  
  
  
  
  
  def _lowercase   (  __A       ):
  
  
  
   '''simple docstring'''
  
  
  
   __UpperCamelCase				      =  str(__A       ).strip()
  
   # Exceptions
   if not binary_str:
    raise ValueError("""Empty string was passed to the function"""       )
   __UpperCamelCase				      =  binary_str[0] == """-"""
   __UpperCamelCase				      =  binary_str[1:] if is_negative else binary_str
   if not all(char in """01""" for char in binary_str       ):
    raise ValueError("""Non-binary value was passed to the function"""       )
  
   __UpperCamelCase				      =  (
       """0""" * (4 * (divmod(len(__A       )							,4       )[0] + 1) - len(__A       )) + binary_str
   )
  
   __UpperCamelCase				      =  []
   for x in range(0							,len(__A       )							,4       ):
    hexadecimal.append(BITS_TO_HEX[binary_str[x : x + 4]]       )
   __UpperCamelCase				      =  """0x""" + """""".join(__A       )
  
   return "-" + hexadecimal_str if is_negative else hexadecimal_str
  
  
  if __name__ == "__main__":
   from doctest import testmod
  
   testmod()
  
  
  
  
  
  