Skip to content

Commit

Permalink
Merge branch 'NguyenU' of git://github.com/NguyenU/Python into Nguyen…
Browse files Browse the repository at this point in the history
…U-NguyenU
  • Loading branch information
harshildarji committed Oct 22, 2018
2 parents 04abc28 + 45a1ab2 commit 1148029
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Maths/FindMax.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# NguyenU

import math
def find_max(nums):
max = 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()

0 comments on commit 1148029

Please sign in to comment.