


def 						_lowercase       (     __lowerCamelCase			:					int			)  ->   int:





     '''simple docstring'''





     if number != int(__lowerCamelCase			):
          raise ValueError('''factorial() only accepts integral values'''			)
     if number < 0:
          raise ValueError('''factorial() not defined for negative values'''			)
     UpperCamelCase__							:  str								=     1
     for i in range(1		,number + 1			):
          value *= i
     return value







def 						_lowercase       (     __lowerCamelCase			:					int			)  ->   int:





     '''simple docstring'''





     if not isinstance(__lowerCamelCase		,__lowerCamelCase			):
          raise ValueError('''factorial() only accepts integral values'''			)
     if n < 0:
          raise ValueError('''factorial() not defined for negative values'''			)
     return 1 if n == 0 or n == 1 else n * factorial(n - 1			)


if __name__ == "__main__":
   import doctest

   doctest.testmod()

   _SCREAMING_SNAKE_CASE :					Union[str, Any]			=	int(input("""Enter a positive integer: """).strip() or 0)
   print(F'factorial{n} is {factorial(n)}')








import warnings

from ...utils import logging
from .image_processing_mobilenet_va import MobileNetVaImageProcessor


_SCREAMING_SNAKE_CASE :					List[str]			=	logging.get_logger(__name__)

class  UpperCamelCase__ ( __lowerCamelCase			):






      def __init__(     self					:   List[str],		*__lowerCamelCase					:   Optional[int],		**__lowerCamelCase					:   Dict   )  -> None:
           warnings.warn(
               '''The class MobileNetV1FeatureExtractor is deprecated and will be removed in version 5 of Transformers.'''
               ''' Please use MobileNetV1ImageProcessor instead.''',		__lowerCamelCase,		)
           super().__init__(*__lowerCamelCase,		**__lowerCamelCase   )




