mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-07 11:37:36 +08:00
Merge branch 'master' of https://github.com/TheAlgorithms/Python
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user