import functools
import operator
print(functools.reduce(operator.mul,[int(input()) for i in range(10)]))
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
import functools
import operator
print(functools.reduce(operator.mul,[int(input()) for i in range(10)]))
var a:Integer;
var i:Integer;
var r:Longint;
begin
r:=1;
for i:=1 to 10 do
begin
read(a);
r:=r*a;
end;
writeln(r);
end.