TheAlgorithms-Python/Maths/FindMax.py
2018-10-22 14:36:08 -04:00

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