Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

find greatest number in list python

# Python program to find largest
# number in a list
 
# list of numbers
list1 = [10, 20, 4, 45, 99]
 
 
# printing the maximum element
print("Largest element is:", max(list1))
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #find #greatest #number #list #python
ADD COMMENT
Topic
Name
1+1 =