Find Largest Number in Array using Python

max function

numbers = [10, 3, 17, 50, 15]
maxNumber = max(numbers)

print(maxNumber)

Leave a Comment

Cancel reply

Your email address will not be published.