Skip to content

Instantly share code, notes, and snippets.

@computer-tutor
Created April 28, 2020 04:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save computer-tutor/5eaf01931f6e9926b903e25b7193cf16 to your computer and use it in GitHub Desktop.
Save computer-tutor/5eaf01931f6e9926b903e25b7193cf16 to your computer and use it in GitHub Desktop.
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment