inst/snippet/cards-same-color.R

2 *                    # black or red
choose(26,5) /         # 5 cards from that color
choose(52,5)           # any 5 cards

Try the fastR package in your browser

Any scripts or data that you put into this service are public.

fastR documentation built on May 1, 2019, 11:18 p.m.