Generation

generate functionSat, 25 Mar 2023

write a code that calculates the hypotenuse

from math import * def hypotenuse(a, b): return sqrt(a**2 + b**2) hypotenuse(3, 4)

Questions about programming?Chat with your personal AI assistant