Question: write program without break: Write a program using list to read a sequence of string values and prints them, and highlighting the largest number (
write program without break:
Write a program using list to read a sequence of string values and prints them, and highlighting the largest number this is the largest number These are the required functions a def readValues to read in a series of string values by the user into a list. b def findLargest pass the list into the function and find largest c def display display the list and highlight the largest d use a main function to call the above functions Sample Test run your output should like below, user input string values in blue Please enter values, Q to quit: Q Here are the numbers in the list this is the largest number The question states that you must input string values. Which means that your values that you enter cannot be values intinputPlease enter values, Q to quit it will have to be values inputPlease enter values, Q to quit since you do not know how many times to do loop you will have to use a while loop to quit with Q In the function def findLargest you cannot use the method max to find the largest value, you will have to write the codes to find the largest. Which I believe we have done the codes in loops finding the largest number, you will have to apply list operations.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
