Write a python function to find the minimum number of a list.

# Write a python function to find the minimum number of a list.

def sm():

    list2 = [166,22,4,66,77]

    small = list2[0]

    for i in list2 :

        if small > i:

            small = i

    print ("minimum number of a list ",small)

sm()

Comments

Popular posts from this blog