Answer to Question #17352 in Python for Ariel Landron
Fill in the missing function definitions for this program:
**def main():
welcome()
x,y = userInput()
d = calculate(x,y) `
displayResults(x,y,d)
main()**
**I am not sure what to do**
**def welcome():
print("Hello, world")
def userinput():
x,y=eval(input("Please, enter two numbers: "))
def calculate(x,y):
dif=(x)-(y)
def displayr(x,y,d):
print(x,y,d)
def main():
welcome()
x,y=userinput()
d=calculate(x,y)
displayr(x,y,d)
main()**
0
Answer in progress...
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
Python
Comments
Leave a comment