Mar-23-2017, 02:54 PM
First thing is first this program is meant to convert feet into inches. my first problem was that past the intro, I forgot to call the rest of the functions, so I just want to check and see if how I have it set up to call the rest of the functions will work.
def main(): #variables feet = 0 inches = 12 feetInches = 0 intro() #intro def intro(): print ("This program will help you convert how ever many feet you have into inches") getfeet() #main calculation def getFeet(feet): feet = input("How many feet do you have?") print (feet) inchesCalculation() def inchesCalculation(feet, inches, feetInches): feetInches = feet * inches display() def display(feet,feetInches): print ("There are " feetInches "inches in " feet "feet") #here at feetInches I am getting a syntax error and I don't understand why. main()