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

Simple Python Program Code for Snake Game

Linear Regression Model for House Price Prediction in Python