Someone can help me?

Write a program that reads 3 integers, and which, if at least two of them have the same value, prints that value (the program does not print anything otherwise).
That is what i do

a=int(input());
b=int(input());
c=int(input());
if (a==b or a==c):
print(a);
elif (a==b or b==c):
print(b);
else:
print();  

when I do this ,that don’t march , thanks

You don’t have your if and else blocks indented. Python requires indentation as part of its syntax.

2 Likes