def grade(random, key): if key.find("what_1s_l0v3_bby_don7_hurt_m3") != -1: return True, "You got it! Great Job!" return False, "No."