16 Program to multiples all the items in a list using Python

Program:
l = list()

l = [int(x) for x in input("Enter any 5 value: ").split()]



multi = 1



for i in l:

    multi = multi * i



print("Multiples:",multi)


Output:


Previous
Next Post »