Find Maximum in List easy
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
💡 Tip: Press Ctrl+Enter to run