Due Date: midnight, Friday, 26 October.
This assignment focuses on functions from Chapter 6.
Submit the following programs via Blackboard:
Old MacDonald had a farm, Ei-igh, Ee-igh, Oh! And on that farm he had a cow, Ee-igh, Ee-igh, Oh! Whith a moo, moo here and a moo, moo there. Here a moo, there a moo, everywhere a moo, moo. Old MacDonald had a farm, Ei-igh, Ee-igh, Oh!(Hint: use a function with two input parameters one for the animal and the other for the related sound)
def main(): welcome() #Prints "Hello, world" to the screen x,y = userInput() #Asks user for 2 inputs and returns numbers entered d = calculate(x,y) #Returns the difference of the parameters displayResults(x,y,d) #Prints the two inputs, and d main()That is, write the functions welcome(), userInput(), calculate() and displayResults(). Include all functions, including the main() above in the file you submit.