1.Write a Python function to find the maximum and minimum numbers from a sequence of numbers.

 


def Fun(i):

    b=int(0)

    for i in range(i-1,0,-1):

        b=b+(i**3)

    print(b)

    return b


a=int(input("plz give input"))

print(Fun(a))

Comments

Popular posts from this blog

D WEB LINK