Академический Документы
Профессиональный Документы
Культура Документы
def main();
a = float(input(Enter the length of side A: ))
b = float(input(Enter the length of side B: ))
c = math.hypot(a, b)
print The length of the hypotenuse is , c
Output:
Enter the length of side A: 3
Enter the length of side B: 6
The length of the hypotenuse is 6.7082039325
>>>
MODULE
A module is a single text file that contains a related collection of
variables, functions, and other objects.
math Module Function Description