Question: Write a function called 'findHighest()' that will find and return the highest grade in the list called 'grades' in the following program. You can assume

Write a function called 'findHighest()' that will find and return the highest grade in the list called 'grades' in the following program. You can assume that the list has already been properly initialized. The number of elements in the list is determined by the constant called 'SIZE'. import random SIZE = 1 theta def display(grades): for i in range (theta, SIZE, 1): print(grades [i]) def initialize(grades): for i in range (theta, SIZE, 1): grades.append(random.randrange(1, 1 theta 1)) def findHighest (grades): # Write your answer here # End answer space return(highest) def start(): grades = [] initialize(grades) display(grades) highest = findHighest(grades) print('highest', highest) start()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
