Create a mathematical function which will print out a number in the first index of an array, the square of the number in the second index of an array, the cube of the number in the third index of an array, the square root of the number in the fourth index of an array, and the reciprocal of the number in the fifth index of an array. Run the program for the number 9. Include appropriate column headings and the main heading MATHEMATICAL TABLE.
HINT: You will need to use [if-elif] structure.
use phyton
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here