Quote:
This strategy is printing too much. n choose k(45, 2) is 990, however it's printing 1980 times for me.
You're calculating the number wrong. choose(45, 2) will pick 2 cards out of 45 where the order doesn't matter. But the order of the turn and river DO matter.
Using choose() for the flop is fine because the order of flop cards is not important.