def main(): miles = 0 #use nested ifs to call the next function if the function being called is used and not set to invalid if(callmiles.inputMiles()): if(callFah.inputFahrenheit()): if(callGallons.inputGallons()): if(callPounds.inputPounds()): callInches.inputInches()
def main(): miles = 0 #use nested ifs to call the next function if the function being called is used and not set to invalid if callmiles.inputMiles(): print('Miles is', callmiles.milesToKm(miles))