Answers for "highest number in python list"

0

how to write program in python to get the largest nuber

def max_num_in_list( list ):
    max = list[ 0 ]
    for a in list:
        if a > max:
            max = a
    return max
print(max_num_in_list([1, 2, -8, 0]))
Posted by: Guest on January-27-2021
0

how to find the highest int in the list and print it

how to find the highest int in the list and print it
Posted by: Guest on April-28-2021

Code answers related to "highest number in python list"

Python Answers by Framework

Browse Popular Code Answers by Language