Question: PYTHON CODING III. Write a function that takes a list of numbers as input and returns the average of thosenumbers. For example, if the function
PYTHON CODING
III. Write a function that takes a list of numbers as input and returns the average of thosenumbers. For example, if the function is called with the list [1, 2, 3, 4, 5], it should return 3.
IV. Write a function that takes a list of numbers as input and returns the largest number in the list.For example, if the function is called with the list [1, 5, 2, 8, 3], it should return 8.
V. Write a program that takes a list of numbers as input and prints out all pairs of numbers in thelist that add up to a given target number. For example, if the input list is [1, 2, 3, 4, 5] and thetarget number is 7, the program should print out:[2, 5][3, 4]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
