Перевести с Pascal на Python. Даю 80 баллов. Срочно!


var
a:array[1..70]of integer;
i,kol:integer;
begin
randomize;
for i:=1 to 70 do
a[i]:=random(50)-40;
for i:=1 to 70 do
write(a[i],' ');
writeln;
for i:=1 to 70 do
if a[i]>0 then break else inc(kol);
writeln(kol);
readln;
end.
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.