Плиз, переведите с паскаля на питон. ДАЮ МНОГО БАЛЛОВ!
k := 0;
for i:=1 to N do begin
if (a[i] mod 5 = 0) and (a[i] < 100)
then k := k + 1;
end;
for i:=1 to N do begin
if (a[i] mod 5 = 0) and (a[i] < 100)
then a[i] := k;
writeln(a[i])
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.