Number of hands of poker
Poker users a 52-card deck, where each card is unique. After shuffling, a player gets five random cards. How many different hands are there? Remember, in poker, the order of the cards in your hand does not matter.
Write a function that takes the number of cards in a hand h
and the number of cards in the deck d
and calculates how many possible hands there are.
(defn combinations [d h]
.....
)
Hint: there is a mathematical formula for combinations already!