Answers for "find maximum of list python"

6

how to find highest number in list without using max function python

Numbers = [90,78,34,50,100,99]
higest_number = 0
for number in Numbers:
    if number > higest_number:
        higest_number = number
Posted by: Guest on August-01-2021
0

finding the maximum value in a list python

arr = [0, 1, 2, 3]
maximum_value = max(arr)
print(maximum_value) #should print 3
Posted by: Guest on August-09-2021

Code answers related to "find maximum of list python"

Python Answers by Framework

Browse Popular Code Answers by Language