Skip to content

Commit 1aa77ec

Browse files
authored
Add files via upload
1 parent 6be6f95 commit 1aa77ec

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# https://www.codewars.com/kata/577a98a6ae28071780000989
2+
3+
def minimum(arr):
4+
return min(arr)
5+
6+
def maximum(arr):
7+
return max(arr)
8+
9+
# def min(arr):
10+
# low = arr[0]
11+
# for i in arr[1:]:
12+
# if i < low:
13+
# low = i
14+
# return low
15+
16+
# def max(arr):
17+
# high = arr[0]
18+
# for i in arr[1:]:
19+
# if i > high:
20+
# high = i
21+
# return high

0 commit comments

Comments
 (0)