Product of Elements in the List
This Program name is Product of Elements in the List. Write a Python program to Product of Elements in the List*, it has two test cases
The below link contains Product of Elements in the List question, explanation and test cases
https://docs.google.com/document/d/1z9x8MrBxQdl0oiXfsRD5ZjEi0UTqnVrg/edit?usp=sharing&ouid=104486799211107564921&rtpof=true&sd=true
We need exact output when the code was run
numbers = [int(i) for i in input().split()]
product = 1
for i in numbers:
product *= i
print(product)
Comments
Leave a comment