def sorta_sum(a, b):
  sum = a + b
  if (10 <= sum <= 19):
    return 20
  else:
    return sum

# Given 2 ints, a and b, return their sum. However, sums in the range
# 10..19 inclusive, are forbidden, so in that case just return 20.

# sorta_sum(3, 4) --> 7
# sorta_sum(9, 4) --> 20
# sorta_sum(10, 11) --> 21

def sorta_sum(a, b):
  sum = a + b
  if (10 <= sum <= 19):
    return 20
  else:
    return sum
    
print(sorta_sum(3, 4))
print(sorta_sum(9, 4))
print(sorta_sum(10, 11))

Update sorta_sum.py