Question: CODE NOT WORKING HELP # Taking the list of float values from the user numbers = list(map(float, input().split())) # Storing first element to maximum maximum

CODE NOT WORKING HELP

CODE NOT WORKING HELP \# Taking the list of float values fromthe user numbers = list(map(float, input().split())) \# Storing first element to maximum

\# Taking the list of float values from the user numbers = list(map(float, input().split())) \# Storing first element to maximum maximum = numbers [0] \# Loop through numbers and then find maximum value for num in numbers: \# Updating maximum value if num > maximum: maximum = num \# Loop through the numbers to adjust the value by dividing by maximum value \# print the number upto 2 decimal places with space separated. for num in numbers: value = num / maximum print ({:.2f}. format(value), end=' ') Output is nearly correct, but whitespace differs. See highlights below. Input Your output Expected output 2:Compare output 0/4 Output is nearly correct, but whitespace differs. See highlights below. Input 3:Compare output 0/3 Output is nearly correct, but whitespace differs. See highlights below. Input Your output Expected output

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 Databases Questions!