def ifExample5 (gradDegree, gpa, experience):
   status = "Not hired"
   if (gradDegree == 'y'):
      if (gpa >= 3.7):
         status = "Hired"
      if (experience >= 5):
         status = "Hired"
   print "Employment status: ", status
