max and python code example
Example 1: python max()
i = max(2, 4, 6, 3)
print(i)
# Result will be 6 because it is the highest number
Example 2: max func in python
max([2, 1, 4, 3])
#Returns 4 as it's the largest integer in the list
i = max(2, 4, 6, 3)
print(i)
# Result will be 6 because it is the highest number
max([2, 1, 4, 3])
#Returns 4 as it's the largest integer in the list