Question: This is my program, however it is not printing out anything. It only prints out this result here: how do i fix it in order



1 2 def main(): 3 4 i = 0 5 while i maxl: max3 = max 2 11 max2 = max1 12 max1 n 13 elif n > max2: 14 max3 = max2 15 max2 = n elif n > max 3: 10 16 INI Integers and Floa... G Project 2 part 4.p Compile Messages jGRASP Messages R i += 1 n = int(input()) if n 0: break if n > maxl: max3 = max 2 max2 = maxl max1 = n elif n > max2: max3 = max2 max2 = n elif n > max 3: max3 = n print(" The largest valuel = print(" The largest value2 =, print(" The largest value3 =, 11 11 ) maxl) maxl) Integers and Floa... 9 Project 2 part 4.py G Project 2 part 3.py G Proje jGRASP exec: python Project 2 part 3.py --GRASP: operation complete. Problem 3 Write a program that reads a sequence of 10 integers, one per line and prints out the three largest numbers of this sequence: Enter integers one per line: 6 -3 9 7 89 -2 2. 1 3 The largesti = 89 The largest2 = 9 The largest 3 = 7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
