def play_cards(user_hand, unexposed_cards): game_status = "preliminary"; while game_status == "preliminary": for card in user_hand: if card not in unexposed_cards: game_status = "start over again"; break; if game_status != "start over again": print("all your cards match the ordinances of the game, leading to a decrease in the unexposed pile. you've skillfully managed not to diminish your chances of winning. well played!")