Find max function in python

This commit is contained in:
Uyen 2018-10-22 14:36:08 -04:00
parent fedb3e70ab
commit 67d409b6be

10
Maths/FindMax.py Normal file
View File

@ -0,0 +1,10 @@
# NguyenU
import math
def find_max(nums):
max = 0
for x in nums:
if x > max:
max = x
print max