#-------------------------------------------------------------------------------
#  Words.py
#-------------------------------------------------------------------------------

def find_first_2_letter_word(L):
   # count = 0
   for w in L:
      # count += 1
      # print("iteration: "+str(count))
      if len(w) == 2:
         return w
      # end if
   #end for
   return ""  # try commenting out this line
# find_first_2_letter_word()


#--  main program -------------------------------------------------------------

word = find_first_2_letter_word(["This", "is", "a", "dead", "parrot"])
print(word)
word = find_first_2_letter_word(["This", "isn't", "a", "dead", "parrot"])
print(word)
