diff --git a/054/poker.py b/054/poker.py index f99354f..fb77d0e 100644 --- a/054/poker.py +++ b/054/poker.py @@ -181,10 +181,8 @@ class Hand: Uses smart hand creation if more than five cards are specified. """ - if len(cards) == 5: + if len(cards) <= 5: return Hand(cards) - elif len(cards) < 5: - raise InvalidHand else: return Hand.create_best_hand_smart(cards) return false