lists
Write a function solution(nums) that returns the maximum value in a list of integers. Do not use the built-in max().
Example
solution([1, 5, 3, 9, 2]) → 9
solution([-3, -1, -7]) → -1
solution.py
14px
📊 Test Results
Run your code to see test results here.