Find the largest number in a list

 numbers = [5, 3, 9, 1, 7]

largest = max(numbers)

print("The largest number is", largest)


Comments

Popular posts from this blog

Iris Flowers Classification ML Project with Code

Linear Regression Model for House Price Prediction in Python

Hello World Python Code with Explanation