prints the product of n given numbers Get link Facebook X Pinterest Email Other Apps March 29, 2022 prints the product of n given numbers: n=int(input()) l=[] r=1 while(n>0): l.append(int(input())) n-=1 for i in l: r*=i print(r) Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment