


'''simple docstring'''





def 					a__    (				UpperCamelCase_	:			Optional[Any]	):
   UpperCAmelCase__  :Optional[int]            =			1.3
   UpperCAmelCase__  :Tuple            =			len(UpperCamelCase_	)
   UpperCAmelCase__  :List[Any]            =			False

   while not completed:
      # Update the gap value for a next comb
      UpperCAmelCase__  :List[Any]            =			int(gap / shrink_factor	)
      if gap <= 1:
         UpperCAmelCase__  :int            =			True

      UpperCAmelCase__  :Dict            =			0
      while index + gap < len(UpperCamelCase_	):
         if data[index] > data[index + gap]:
            # Swap values
            UpperCAmelCase__      ,	UpperCAmelCase__  :Optional[Any]            =			data[index + gap], data[index]
            UpperCAmelCase__  :Optional[int]            =			False
         index += 1

   return data


if __name__ == "__main__":
    import doctest

    doctest.testmod()

    __lowerCamelCase       				=	input('''Enter numbers separated by a comma:\n''').strip()
    __lowerCamelCase       				=	[int(item) for item in user_input.split(''',''')]
    print(comb_sort(unsorted))





'''simple docstring'''





from scipy.constants import g


def 					a__    (				UpperCamelCase_	:			float,      UpperCamelCase_	:			float	):
   if mass < 0:
      # handling of negative values of mass
      raise ValueError('''The mass of a body cannot be negative'''	)
   if height < 0:
      # handling of negative values of height
      raise ValueError('''The height above the ground cannot be negative'''	)
   return mass * g * height


if __name__ == "__main__":
    from doctest import testmod

    testmod(name='''potential_energy''')



