Write a function that returns the maximum value in an array of integers. The array may contain negative numbers, duplicates, and zero.
nums
def find_max(nums):
Your question is Max Value in Array. 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.