Write a program to input 6 numbers. After each number is input, print the biggest of the numbers entered so far. Please use python and include a screenshot that the code is running. Please use simple code as I am only a high school student.
PLEASE GIVE IT A THUMBS UP, I SERIOUSLY NEED ONE, IF YOU NEED ANY MODIFICATION THEN LET ME KNOW, I WILL DO IT FOR YOU
l=[]
i=0
while(i<6):
n = float(input("Enter number: "))
l.append(n)
maximum = l[0]
j=0
while(j<len(l)):
if maximum < l[j]:
maximum = l[j]
j+=1
i+=1
print("Bigggest:",maximum)
Get Answers For Free
Most questions answered within 1 hours.