Message from Python discussions

November 2018

— True

— 

Hi, who can translate this Pascal code to Python? 🙏🏻

var
a,b,c,d,x,y,m,n,nod,rez:longint;
begin
readln(a,b,c,d);
x := abs(a-c);
y := abs(b-d);
m:=x;
n:=y;
if (x=0) or (y=0) then rez:=0
else begin
while (x<>0) and (y<>0) do
if x>y then x:= x - y else y:=y-x;
nod:=x+y;
rez:=(m div nod+n div nod-1)*nod;
end;
writeln(rez);
end.

— But their k8s integration is cool

— Wew

— Ez pz

— Just try once

— Does selenium works without opening a web browser??

— Do u eat without food?

— I need to do automation without opening a web browser

— Where is mistake? result is False

— The left code has a mistake

— Maybe you didn't add abs() iin python code too?