Given a list of integers, write a program to find the maximum value.
Implement find_max(nums), where nums is a non-empty list of integers. Return the largest integer in the list without sorting it.
find_max(nums)
nums
def find_max(nums):
Your question is Find Maximum Value Program. Start with the requirements in the Question tab.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.