mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-24 05:21:09 +00:00
Merge branch 'master' of https://github.com/TheAlgorithms/Python
This commit is contained in:
commit
b4e443aac1
|
@ -1,8 +1,7 @@
|
||||||
# NguyenU
|
# NguyenU
|
||||||
|
|
||||||
import math
|
|
||||||
def find_max(nums):
|
def find_max(nums):
|
||||||
max = 0
|
max = nums[0]
|
||||||
for x in nums:
|
for x in nums:
|
||||||
if x > max:
|
if x > max:
|
||||||
max = x
|
max = x
|
||||||
|
|
Loading…
Reference in New Issue
Block a user