use max comparison in 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 function python
max([2, 1, 4, 3])
i = max(2, 4, 6, 3)
print(i)
# Result will be 6 because it is the highest number
max([2, 1, 4, 3])