Solutions
The given question is <span>a doable program.
</span>
Def pal():
for a in range

for b in range

for c in range

for d in range

<span>

%10)

%10

%10

%10
if (a!=b and a!=c and a!=d and b!=c and b!=d and c!=d and x==a and y==b and z==c and w==d ):
print("a = ", a)
print("b = ", b)
print("c = ", c)
print("d = ", d)
</span>
<span>
Plug in the numbers to solve the problem.
</span>
The 'int' function is the same thing as floor.
<span>The % symbol is the modulo operator</span>
≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
In base 10 expanded form

and

, where A,B,C,D<span> are counting numbers.
</span>
We are given

<span>Converting to decimal expanded forms we get
</span>
<span>Distributing the above equation
</span>

<span>
</span>brute force solution works, but is best done by a computer not by hand.
<span>We could also try to use modular math.
</span>