On rating python quizzes on Solo Learn, I came across a rather puzzling quiz. In it, it assigns booleans to three variables, then prints the sum of them to the console. The answer appears to be consisting of a single character, but I have no idea what it does, and can't find any resources on this.
The code:
a = 4
b = 4
c = 5
x = a == b
y = a == c
a = a != b
puzzle = x + y + a
print (puzzle)
What's going on with this code?