def maxNumber(arr) -> int: x = 0 for n in arr: if n > x: x = n return x print(maxNumber([8, 3, 5, 1, 2]))
To embed this project on your website, copy the following code and paste it into your website's HTML: