Код: Выделить всё
a = input("enter the first age ")
print(a)
b = input("enter the seond age ")
pint(b)
c = input("enter the third age ")
print(c)
if (a != b and a != c and b != c):
{
if (a>b and a>c):
print ("a is the largest")
if (b>a and b>c):
print ("b is the largest")
else:
print ("c is the largest")
}
else:
print ("please enter distinct digits")
Ранее я писал, как if(), поэтому я дал пробел if ()
Я считаю, что отступ правильный.
Подробнее здесь: https://stackoverflow.com/questions/781 ... lid-syntax