You are going to write a program that calculates the highest score from a List of scores.
e.g. student_scores = [78, 65, 89, 86, 55, 91, 64, 89]
Important you are not allowed to use the max or min functions. The output words must match the example. i.e
The highest score in the class is: x
78 65 89 86 55 91 64 89
In this case, student_scores would be a list that looks like: [78, 65, 89, 86, 55, 91, 64, 89]
The highest score in the class is: 91
e.g. When you hit run, this is what should happen:
- Think about the logic before writing code. How can you compare numbers against each other to see which one is larger?
Before checking the solution, try copy-pasting your code into this repl:
https://repl.it/@appbrewery/day-5-2-test-your-code
This repl includes my testing code that will check if your code meets this assignment's objectives.