Wonus Hagner, the star keeper for the Miami Knicks, is also in 15-112 this
semester. He has a large chunk of buggy code that he wants to comment out so he
can replace it with the correct content. Put the Python comment character ("#")
at the beginning of every line of code in "awful_add", with a space after it.
Hint: For vim, look into 'visual block mode' and for emacs look into
'comment-region'. There are 95 lines in the function.


def awful_add(x, y):
  tmp = 0
  if x > 0:
    x -= 1
    tmp += 1
  if x > 0:
    x -= 1
    tmp += 1
  if x > 0:
    x -= 1
    tmp += 1
  if x > 0:
    x -= 1
    tmp += 1
  if x > 0:
    x -= 1
    tmp += 1
  if x > 0:
    x -= 1
    tmp += 1
  if x > 0:
    x -= 1
    tmp += 1
  if x > 0:
    x -= 1
    tmp += 1
  if x > 0:
    x -= 1
    tmp += 1
  if x > 0:
    x -= 1
    tmp += 1
  if x > 0:
    x -= 1
    tmp += 1
  if x > 0:
    x -= 1
    tmp += 1
  if x > 0:
    x -= 1
    tmp += 1
  if x > 0:
    x -= 1
    tmp += 1
  if x > 0:
    x -= 1
    tmp += 1
  # That took a long time to type out. Now we do y!
  if y > 0:
    y -= 1
    tmp += 1
  if y > 0:
    y -= 1
    tmp += 1
  if y > 0:
    y -= 1
    tmp += 1
  if y > 0:
    y -= 1
    tmp += 1
  if y > 0:
    y -= 1
    tmp += 1
  if y > 0:
    y -= 1
    tmp += 1
  if y > 0:
    y -= 1
    tmp += 1
  if y > 0:
    y -= 1
    tmp += 1
  if y > 0:
    y -= 1
    tmp += 1
  if y > 0:
    y -= 1
    tmp += 1
  if y > 0:
    y -= 1
    tmp += 1
  if y > 0:
    y -= 1
    tmp += 1
  if y > 0:
    y -= 1
    tmp += 1
  if y > 0:
    y -= 1
    tmp += 1
  if y > 0:
    y -= 1
    tmp += 1
  # *phew*. We're done now. (I hope?)
  return tmp


def good_add(a, b):
  return a + b

