

'''simple docstring'''






import unittest

from accelerate import debug_launcher
from accelerate.test_utils import require_cpu, test_ops, test_script






@require_cpu
class     lowercase_			(unittest.TestCase   ):




		"""simple docstring"""




		def       SCREAMING_SNAKE_CASE   (   self     :  List[Any]    ):
			debug_launcher(test_script.main    )






		def       SCREAMING_SNAKE_CASE   (   self     :  List[Any]    ):
			debug_launcher(test_ops.main    )




'''simple docstring'''






def 	_A  (					A__   ):






 """simple docstring"""



 if not nums:  # Makes sure that the list is not empty
  raise ValueError('''List is empty'''   )

 __lowercase													=				sum(A__   ) / len(A__   )  # Calculate the average
 return sum(abs(x - average   ) for x in nums   ) / len(A__   )


if __name__ == "__main__":
 import doctest

 doctest.testmod()

