Code:-
print("Enter element of the list")
mylist=list(map(int,input().split()))
mul=1
for i in mylist:
mul=mul*i
print("Multiplication of all the element is ",mul)
Output:-
Enter element of the list
12 3 4 5 67 8
Multiplication of all the element is 385920
0 Comments