code: def base36encode(number):
      
  
      ALPHABET = "0123456789abcdefghijklmnopqrstuvwxyz"
  
      base36 = ''
      sign = ''
  
      if number < 0:
          sign = '-'
          number = -number
  
      if 0 <= number < len(ALPHABET):
          return sign + ALPHABET[number]
  
      while number != 0:
          number, i = divmod(number, len(ALPHABET))
          base36 = ALPHABET[i] + base36
  
      return sign + base36
docs: Converts an integer into a base36 string.