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 (76.9<== 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: 3456.74976.955.4 Q Here are the numbers in the list 3456.74976.9<== this is the largest number 55.4 The question states that you must input string values. Which means that your values that you enter cannot be values = int(input(Please enter values, Q to quit)) it will have to be values = input(Please 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!