Answer:
def feet_to_inches( feet ):
inches = feet * 12
print(inches, "inches")
feet_to_inches(10)
Explanation:
The code is written in python. The unit for conversion base on your question is that 1 ft = 12 inches. Therefore,
def feet_to_inches( feet ):
This code we define a function and pass the argument as feet which is the length in ft that is required when we call the function.
inches = feet * 12
Here the length in ft is been converted to inches by multiplying by 12.
print(inches, "inches")
Here we print the value in inches .
feet_to_inches(10)
Here we call the function and pass the argument in feet to be converted
Answer:
Recursion is calling of a function from within that same function
1. <span>The Joint Photographic Experts Group developed the jpeg graphic format.
2. </span><span>It is important to include the alt attribute of the tag because some people use text-only Web browsers. </span>