Python 3.7:
from random import randrange
Arr = [randrange(20,46) for i in range(15)]
print(sum(Arr))
===== PascalABC.NET =====
begin
var a := ArrRandom(15, 20, 45);
a.Println.Sum.Print
end.
Python 3.7:
from random import randrange
Arr = [randrange(20,46) for i in range(15)]
print(sum(Arr))
===== PascalABC.NET =====
begin
var a := ArrRandom(15, 20, 45);
a.Println.Sum.Print
end.