Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python to find the biggest among 3 numbers

# Python program to find largest
# number in a list
 
# list of numbers
list1 = [10, 20, 4, 45, 99]
 
# sorting the list
list1.sort()
 
# printing the last element
print("Largest element is:", list1[-1])
 
PREVIOUS NEXT
Tagged: #python #find #biggest #numbers
ADD COMMENT
Topic
Name
4+9 =