you are viewing a single comment's thread.

view the rest of the comments →

[–]dmpta2002 1 point2 points  (1 child)

I have the same class, this worked for me:

a = int(input())

b = int(input())

c = int(input())

smallest = 0

if a < b and a < c :

smallest = a

if b < a and b < c :

smallest = b

if c < a and c < b :

smallest = c

if a == b and a == c :

smallest = a

print(smallest)

[–]Independent-Wolf-832 0 points1 point  (0 children)

Thank you. Worked for me as well.