Перепишите с pascal на python, пожалуйста! Срочно! begin
write('Введите a1,a2,a3,a4: ');
var a1,a2,a3,a4,n:integer;
readln(a1,a2,a3,a4);
if a1=a4 then
begin
if a1=a2 then n:=3 else n:=2;
end
else if a1=a2 then n:=4 else n:=1;
writeln('Номер числа: ',n);
end.​
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Copyright © 2024 SCHOLAR.TIPS - All rights reserved.