






"""simple docstring"""



from scipy.constants import g


def   SCREAMING_SNAKE_CASE__					(     snake_case					:   float ,				snake_case					:   float							)->		float:






     '''simple docstring'''



     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""")










"""simple docstring"""



def   SCREAMING_SNAKE_CASE__					(     snake_case					:   int							)->		list:






     '''simple docstring'''



     UpperCAmelCase__	:						List[str]       =       [True for i in range(n + 1							)]
     UpperCAmelCase__	:						List[str]       =       [i - 1 for i in range(n + 1							)]
     UpperCAmelCase__	:						int       =       []
     for i in range(2 ,				n + 1							):
          if is_prime[i]:
               primes.append(snake_case							)
          for j in range(0 ,				len(snake_case							)							):
               if i * primes[j] >= n:
                    break
               UpperCAmelCase__	:						Optional[Any]       =       False

               if i % primes[j] == 0:
                    UpperCAmelCase__	:						str       =       totients[i] * primes[j]
                    break

               UpperCAmelCase__	:						Union[str, Any]       =       totients[i] * (primes[j] - 1)

     return totients


if __name__ == "__main__":
 import doctest

 doctest.testmod()


