6. One foot equals 12 inches. Write a function that accepts a length written in feet as an argument and returns this length written in inches. Write a second function that asks the user for a number of feet and returns this value. Write a third function that accepts a number of inches and displays this to the screen. Use these three functions to write a program that asks the user for a number of feet and tells them the corresponding number of inches.

# Code
def feet_to_inches(x):
return x*12

def feet():
x = int(input(‘Enter feet : ‘))
return x

def disp_inches(x):
print(‘Number of inches :’, x)

x = feet()
x = feet_to_inches(x)
disp_inches(x)