Question: Statistics are often calculated with varying amounts of input data. Write a program that takes any number of non-negative integers as input, and outputs the


Statistics are often calculated with varying amounts of input data. Write a program that takes any number of non-negative integers as input, and outputs the max and average, respectively. Output the max and average with two digits after the decimal point. Ex if the input is: 14.25250.5.75 the output is: 25.0011.25 Write a program that gets a list of integers from input, and outputs negative integers in descending order (highest to lowest). Ex. If the input is: 1074396122 the output is 26739 For coding simplicity, follow every output value by a space. Do not end with newline. A contact list is a place where you can store a specific contact with other associated information such as a phone number, email address: birthday, etc. Write a program that first takes in word pairs that consist of a name and a phone number (both strings), separated by a comma. That list is followed by a name, and your program should output the phone number associated with that name Assume the search name is always in the list. Ex If the input is: Joe, 1235432 Linda, 9834123 Frank, 8675309 Frank the output is: 86]-5309 main.py Lood defaidt template
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
