def grade(autogen, key): if key.find("that_wasn't_so_hard_n0w_was_it?") != -1: return True, "Yay! Now please tell me you didn't actually paint it . . ." return False, "Nope!"