hey all, this is to test your python skills. (i hope you like them, if i get good feedback i will post more)
questions:
1. Write a function called hypotenuse that returns the length of the hypotenuse of a right triangle given the lengths of the two legs as arguments.
2. Write a function called circle_area that takes in two points (each with an x and a y value) which are the center of a circle and a point on the circumference of the circle and then calculates the area of that circle. An example of the function call would be:
Ex. circle_area(4,1,6,12)
post the source code in Pastebin or if you must you can use the "" tags (code tags)
questions:
1. Write a function called hypotenuse that returns the length of the hypotenuse of a right triangle given the lengths of the two legs as arguments.
2. Write a function called circle_area that takes in two points (each with an x and a y value) which are the center of a circle and a point on the circumference of the circle and then calculates the area of that circle. An example of the function call would be:
Ex. circle_area(4,1,6,12)
post the source code in Pastebin or if you must you can use the "
Code
and