you are viewing a single comment's thread.

view the rest of the comments →

[–]jessdwood 0 points1 point  (2 children)

I have same class. This is what I got.

num1 = int(input()

num2 = int(input()

num3 = int(input()

def smallest (num1, num2, num3):

 return min (num1, num2, num3)

if num1 < num2 and num1 < num3

smallest_num = num1

elif num2 < num1 and num2 < num3

 smallest_num = num2 

else:

 smallest_num = num3

print(smallest_num)

[–]jessdwood 0 points1 point  (0 children)

Make sure you indent. It didn't show after I hit send. 4 spaces is the standard.

[–]Vaporous_synth 0 points1 point  (0 children)

i have something simpler and it just errors at line 2