def grade(random, key): if key.find("4r3nT_u_hav1ng_h34pz_0f_Fun?") != -1: return True, "Correct!" return False, "Nope."