Some directories had a capital in their name [fixed]. Added a recursive factorial algorithm. (#763)

* Renaming directories
* Adding a recursive factorial algorithm
This commit is contained in:
Vysor
2019-04-23 00:53:56 +10:00
committed by John Law
parent 48bba495ae
commit df04d94543
36 changed files with 13 additions and 0 deletions

14
maths/FindMax.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()