mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-12-19 02:07:27 +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
|