





"""simple docstring"""
lowerCamelCase_       =		"Input must be a string of 8 numbers plus letter"
lowerCamelCase_       =		"TRWAGMYFPDXBNJZSQVHLCKE"



def 					__lowerCamelCase       (							a_					:		str							)      ->				bool:

      if not isinstance(a_			,       a_							):
            __SCREAMING_SNAKE_CASE       :Optional[Any]		    =  f'''Expected string as input, found {type(a_							).__name__}'''
            raise TypeError(a_							)

      __SCREAMING_SNAKE_CASE       :Dict		    =  spanish_id.replace('''-'''			,       ''''''							).upper()
      if len(a_							) != 9:
            raise ValueError(a_							)

      try:
            __SCREAMING_SNAKE_CASE       :Optional[int]		    =  int(spanish_id_clean[0:8]							)
            __SCREAMING_SNAKE_CASE       :Any		    =  spanish_id_clean[8]
      except ValueError as ex:
            raise ValueError(a_							) from ex

      if letter.isdigit():
            raise ValueError(a_							)

      return letter == LOOKUP_LETTERS[number % 23]


if __name__ == "__main__":
  import doctest

  doctest.testmod()






"""simple docstring"""
def 					__lowerCamelCase       (							a_					:		int = 10			,       a_					:		int = 22							)      ->				int:
      __SCREAMING_SNAKE_CASE       :Optional[int]		    =  range(1			,       a_							)
      __SCREAMING_SNAKE_CASE       :List[Any]		    =  range(1			,       a_							)
      return sum(
          1 for power in powers for base in bases if len(str(base**power							)							) == power							)


if __name__ == "__main__":
  print(f'{solution(1_0, 2_2) = }')