This commit is contained in:
Anup Kumar Panwar
2019-05-26 21:56:10 +05:30
parent 3033c1e06e
commit 71be23999c
21 changed files with 3 additions and 2 deletions

14
maths/Find_Max.py Normal file
View File

@ -0,0 +1,14 @@
# NguyenU
def find_max(nums):
max = nums[0]
for x in nums:
if x > max:
max = x
print(max)
def main():
find_max([2, 4, 9, 7, 19, 94, 5])
if __name__ == '__main__':
main()