Created
April 28, 2020 04:24
-
-
Save computer-tutor/5eaf01931f6e9926b903e25b7193cf16 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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