My name is Alex and I’m looking forward to data 410, Advanced Machine Learning, this semester. Below is a picture of my dog, Elsa.
Next, let’s look at the Pythagorean theorem: or equivalently
And finally, here is some Python code to compute given and using the above formula.
import math
a = int(input("Give a value for 'a'"))
b = int(input("Give a value for 'b'"))
c = math.sqrt(a**2+b**2)
print("The hypotenuse of a triangle with side legths "+str(a)+" and "+str(b)+" is "+str(c))