forked from Ada-C16/git-practice
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunction_d.py
More file actions
36 lines (31 loc) · 783 Bytes
/
function_d.py
File metadata and controls
36 lines (31 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
def max_value(numbers):
<<<<<<< HEAD
max = numbers[0]
for i in numbers:
if i > max:
max i
return max
=======
""" This function returns the largest number
in the list.
"""
return max_value([1, 12, 2, 42, 8, 3])
# An ode to Git:
# Do we Git it?
# Not sure
# One day I hope to Get with it
<<<<<<< HEAD
# return max(numbers)
# PUSH IT REAL GOOD
=======
=======
return max(numbers)
<<<<<<< HEAD
return max(numbers)
=======
>>>>>>> 3cc789bc70f71f9576278dd4ec472f4d19a76608
>>>>>>> dd9631031e073084675a2895570454f69e6a6f4c
>>>>>>> 53f4176f6984ec5818e160f79d3b71be0df64ee3
>>>>>>> 20bd125c15b92a631c3e85e6ca3b730edf619b51
if __name__ == "__main__":
print(max_value([1, 12, 2, 42, 8, 3]))