



import os
from distutils.util import strtobool





def       __magic_name__    (   _lowerCamelCase				: str  ,       _lowerCamelCase				: Optional[Any]					):
							for e in env_keys:
														__a		:		Optional[Any]									=       int(os.environ.get(lowercase__  ,       -1					)					)
														if val >= 0:
																					return val
							return default





def       __magic_name__    (   _lowerCamelCase				: Optional[int]  ,       _lowerCamelCase				: Optional[Any]=False					):
							__a		:		Optional[Any]									=       os.environ.get(lowercase__  ,       str(lowercase__					)					)
							return strtobool(lowercase__					) == 1  # As its name indicates `strtobool` actually returns an int...







def       __magic_name__    (   _lowerCamelCase				: List[str]  ,       _lowerCamelCase				: Tuple="no"					):
							__a		:		str									=       os.environ.get(lowercase__  ,       str(lowercase__					)					)
							return value






"""simple docstring"""

def       __magic_name__    (   _lowerCamelCase				: list[int]					):
							if not nums:  # Makes sure that the list is not empty
														raise ValueError("""List is empty"""					)

							__a		:		Any									=       sum(_lowerCamelCase					) / len(_lowerCamelCase					)  # Calculate the average
							return sum(abs(x - average					) for x in nums					) / len(_lowerCamelCase					)


if __name__ == "__main__":
	import doctest

	doctest.testmod()

