code: elif (A <= B) and (A<= C): 
       smallest = A
text: If otherwise variable A is less than variable B
  or equal to B and less than variable A variable C 
  If A is smaller than or equal to C then A is smaller than all