Given an integer N, write a program which reads N inputs and prints the product of the given input integers.by using while loop
n = int(input('N = ')) res = 1 k = 0 while k < n: res *= int(input()) k += 1 print(res)
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment