Merge branch 'NguyenU' of git://github.com/NguyenU/Python into NguyenU-NguyenU

This commit is contained in:
Harshil 2018-10-22 20:52:42 +02:00
commit 11480295d4

15
Maths/FindMax.py Normal file
View File

@ -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()