"""simple docstring"""





from string import ascii_uppercase

_UpperCamelCase     :		Dict											=					{str(ord(c) - 55): c for c in ascii_uppercase}





def        a_  (   _lowerCAmelCase						:				int     ,				_lowerCAmelCase						:				int  ):





       '''simple docstring'''

       if isinstance(_lowerCAmelCase     ,				_lowerCAmelCase  ):
              raise TypeError('int() can\'t convert non-string with explicit base'  )
       if num < 0:
              raise ValueError('parameter must be positive int'  )
       if isinstance(_lowerCAmelCase     ,				_lowerCAmelCase  ):
              raise TypeError('\'str\' object cannot be interpreted as an integer'  )
       if isinstance(_lowerCAmelCase     ,				_lowerCAmelCase  ):
              raise TypeError('\'float\' object cannot be interpreted as an integer'  )
       if base in (0, 1):
              raise ValueError('base must be >= 2'  )
       if base > 36:
              raise ValueError('base must be <= 36'  )
       lowercase__    :	str     					=			''
       lowercase__    :	List[Any]     					=			0
       lowercase__    :	Optional[int]     					=			0
       while div != 1:
              lowercase__    :	List[str]     					=			divmod(_lowerCAmelCase     ,				_lowerCAmelCase  )
              if base >= 11 and 9 < mod < 36:
                     lowercase__    :	List[str]     					=			ALPHABET_VALUES[str(_lowerCAmelCase  )]
              else:
                     lowercase__    :	List[Any]     					=			str(_lowerCAmelCase  )
              new_value += actual_value
              lowercase__    :	Optional[int]     					=			num // base
              lowercase__    :	List[Any]     					=			div
              if div == 0:
                     return str(new_value[::-1]  )
              elif div == 1:
                     new_value += str(_lowerCAmelCase  )
                     return str(new_value[::-1]  )

       return new_value[::-1]


if __name__ == "__main__":
       import doctest

       doctest.testmod()

       for base in range(2, 37):
              for num in range(10_00):
                     assert int(decimal_to_any(num, base), base) == num, (
                         num,
                         base,
                         decimal_to_any(num, base),
                         int(decimal_to_any(num, base), base),
                     )


"""simple docstring"""





from __future__ import annotations





def        a_  (   _lowerCAmelCase						:				float     ,				_lowerCAmelCase						:				float     ,				_lowerCAmelCase						:				float     ,				):





       '''simple docstring'''

       if (stress, tangential_force, area).count(0  ) != 1:
              raise ValueError('You cannot supply more or less than 2 values'  )
       elif stress < 0:
              raise ValueError('Stress cannot be negative'  )
       elif tangential_force < 0:
              raise ValueError('Tangential Force cannot be negative'  )
       elif area < 0:
              raise ValueError('Area cannot be negative'  )
       elif stress == 0:
              return (
                  "stress",
                  tangential_force / area,
              )
       elif tangential_force == 0:
              return (
                  "tangential_force",
                  stress * area,
              )
       else:
              return (
                  "area",
                  tangential_force / stress,
              )


if __name__ == "__main__":
       import doctest

       doctest.testmod()

