Please use python and run in IDLE
Question 1
Write functions that do the following:
i) A function that takes 2 arguments and adds them. The resultreturned is the sum of the parameters.
ii) A function that takes 2 arguments and returns thedifference,
iii) A function that calls both functions in i) and ii) andprints the product of the values returned by both.
Question 2
Write functions:
i) One that prompts a user for 2 numbers.
ii) Adds the two numbers if they are even
iii) Multiplies the two numbers if they are odd
iv) Displays the appropriate output to the user
You are writing 4 functions and calling them to testfunctionality.