mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
11 lines
123 B
Python
11 lines
123 B
Python
# NguyenU
|
|
|
|
import math
|
|
|
|
def find_max(nums):
|
|
max = 0
|
|
for x in nums:
|
|
if x > max:
|
|
max = x
|
|
print max
|