Program 21
Write a function called root that is given a number x and an integer n and returns x1/n. In the function definition, set the default value of n to 2.
Program:
Output:
No comments:
Post a Comment