Write a function that takes as input the lengths of two sides of a right triangle and returns the length of the hypotenuse.
A tetrahedron die is a four-sided die with labels {1,2,3,4}. Write a function with argument n that rolls n tetrahedron dice and computes their average value. Implement your function for n=1,1000, and 1,000,000.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here