Your question is Largest Number in Array. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
The Western Digital Dashboard may provide QA test data as an array of numeric SMART metric readings. Write a function that returns the largest number in a non-empty array without sorting the array or using a built-in maximum function.
Implement find_largest(nums), where nums is a non-empty list of integers. Return the greatest integer in nums. The input list must not be modified.
def find_largest(nums):