Cody

# Problem 1687. Poker Card Deal!

Solution 318560

Submitted on 12 Sep 2013 by James
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Pass
%% people = 5; cardsDelt = 5; isJokerIn = 0; [dealtDeck, deckLeftover] = Poker_Deal(people ,cardsDelt ,isJokerIn) deckCheck = {'2h'; '3h'; '4h'; '5h'; '6h'; '7h'; '8h'; '9h'; '10h'; 'jh'; 'qh'; 'kh'; 'ah'; '2d'; '3d'; '4d'; '5d'; '6d'; '7d'; '8d'; '9d'; '10d'; 'jd'; 'qd'; 'kd'; 'ad'; '2s'; '3s'; '4s'; '5s'; '6s'; '7s'; '8s'; '9s'; '10s'; 'js'; 'qs'; 'ks'; 'as'; '2c'; '3c'; '4c'; '5c'; '6c'; '7c'; '8c'; '9c'; '10c'; 'jc'; 'qc'; 'kc'; 'ac'} h = (sum(sum(ismember(deckCheck,dealtDeck))) == 25) & ~issorted(reshape(dealtDeck,25,1)); g = (sum(ismember(deckCheck,deckLeftover)) == (52-25)) & ~issorted(deckLeftover); y_correct = g&h; assert(isequal(g,h))

``` deckCheck = '2h' '3h' '4h' '5h' '6h' '7h' '8h' '9h' '10h' 'jh' 'qh' 'kh' 'ah' '2d' '3d' '4d' '5d' '6d' '7d' '8d' '9d' '10d' 'jd' 'qd' 'kd' 'ad' '2s' '3s' '4s' '5s' '6s' '7s' '8s' '9s' '10s' 'js' 'qs' 'ks' 'as' '2c' '3c' '4c' '5c' '6c' '7c' '8c' '9c' '10c' 'jc' 'qc' 'kc' 'ac' leftover = Columns 1 through 16 48 12 22 39 40 49 27 29 52 37 24 33 1 25 2 46 Columns 17 through 27 45 32 10 18 42 26 47 43 9 14 50 dealtDeck = '6h' [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '6h' '5d' [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '6h' '5d' '4h' [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '6h' '5d' '4h' '9h' [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '6h' '5d' '4h' '9h' '7h' [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '6h' '5d' '4h' '9h' '7h' 'ah' [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '6h' '5d' '4h' '9h' '7h' 'ah' '4d' [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '6h' '5d' '4h' '9h' '7h' 'ah' '4d' '5h' [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '6h' '5d' '4h' '9h' '7h' 'ah' '4d' '5h' '8d' [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '6h' '5d' '4h' '9h' '7h' 'ah' '4d' '5h' '8d' '9d' [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '6h' '5d' '4h' '9h' '7h' 'ah' '4d' '5h' '8d' '9d' '8h' [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '6h' '5d' '4h' '9h' '7h' 'ah' '4d' '5h' '8d' '9d' '8h' '9s' [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '6h' '5d' '4h' '9h' '7h' 'ah' '4d' '5h' '8d' '9d' '8h' '9s' 'kc' [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '6h' '5d' '4h' '9h' '7h' 'ah' '4d' '5h' '8d' '9d' '8h' '9s' 'kc' 'js' [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '6h' '5d' '4h' '9h' '7h' 'ah' '4d' '5h' '8d' '9d' '8h' '9s' 'kc' 'js' 'qh' [] [] [] [] [] [] [] [] [] [] dealtDeck = '6h' '5d' '4h' '9h' '7h' 'ah' '4d' '5h' '8d' '9d' '8h' '9s' 'kc' 'js' 'qh' '3d' [] [] [] [] [] [] [] [] [] dealtDeck = '6h' '5d' '4h' '9h' '7h' 'ah' '4d' '5h' '8d' '9d' '8h' '9s' 'kc' 'js' 'qh' '3d' '3s' [] [] [] [] [] [] [] [] dealtDeck = '6h' '5d' '4h' '9h' '7h' 'ah' '4d' '5h' '8d' '9d' '8h' '9s' 'kc' 'js' 'qh' '3d' '3s' '7d' [] [] [] [] [] [] [] dealtDeck = '6h' '5d' '4h' '9h' '7h' 'ah' '4d' '5h' '8d' '9d' '8h' '9s' 'kc' 'js' 'qh' '3d' '3s' '7d' '6s' [] [] [] [] [] [] dealtDeck = '6h' '5d' '4h' '9h' '7h' 'ah' '4d' '5h' '8d' '9d' '8h' '9s' 'kc' 'js' 'qh' '3d' '3s' '7d' '6s' 'jd' [] [] [] [] [] dealtDeck = '6h' '5d' '4h' '9h' '7h' 'ah' '4d' '5h' '8d' '9d' '8h' '9s' 'kc' 'js' 'qh' '3d' '3s' '7d' '6s' 'jd' '10s' [] [] [] [] dealtDeck = '6h' '5d' '4h' '9h' '7h' 'ah' '4d' '5h' '8d' '9d' '8h' '9s' 'kc' 'js' 'qh' '3d' '3s' '7d' '6s' 'jd' '10s' '5s' [] [] [] dealtDeck = '6h' '5d' '4h' '9h' '7h' 'ah' '4d' '5h' '8d' '9d' '8h' '9s' 'kc' 'js' 'qh' '3d' '3s' '7d' '6s' 'jd' '10s' '5s' '6c' [] [] dealtDeck = '6h' '5d' '4h' '9h' '7h' 'ah' '4d' '5h' '8d' '9d' '8h' '9s' 'kc' 'js' 'qh' '3d' '3s' '7d' '6s' 'jd' '10s' '5s' '6c' '3c' [] dealtDeck = '6h' '5d' '4h' '9h' '7h' 'ah' '4d' '5h' '8d' '9d' '8h' '9s' 'kc' 'js' 'qh' '3d' '3s' '7d' '6s' 'jd' '10s' '5s' '6c' '3c' 'ks' dealtDeck = '6h' '5d' '4h' '9h' '7h' 'ah' '4d' '5h' '8d' '9d' '8h' '9s' 'kc' 'js' 'qh' '3d' '3s' '7d' '6s' 'jd' '10s' '5s' '6c' '3c' 'ks' deckLeftover = '10c' 'kh' '10d' 'as' '2c' 'jc' '2s' '4s' 'ac' 'qs' 'qd' '8s' '2h' 'kd' '3h' '8c' '7c' '7s' 'jh' '6d' '4c' 'ad' '9c' '5c' '10h' '2d' 'qc' deckCheck = '2h' '3h' '4h' '5h' '6h' '7h' '8h' '9h' '10h' 'jh' 'qh' 'kh' 'ah' '2d' '3d' '4d' '5d' '6d' '7d' '8d' '9d' '10d' 'jd' 'qd' 'kd' 'ad' '2s' '3s' '4s' '5s' '6s' '7s' '8s' '9s' '10s' 'js' 'qs' 'ks' 'as' '2c' '3c' '4c' '5c' '6c' '7c' '8c' '9c' '10c' 'jc' 'qc' 'kc' 'ac' ```

2   Pass
%% people = 3; cardsDelt = 5; isJokerIn = 0; [dealtDeck, deckLeftover] = Poker_Deal(people ,cardsDelt ,isJokerIn) deckCheck = {'2h'; '3h'; '4h'; '5h'; '6h'; '7h'; '8h'; '9h'; '10h'; 'jh'; 'qh'; 'kh'; 'ah'; '2d'; '3d'; '4d'; '5d'; '6d'; '7d'; '8d'; '9d'; '10d'; 'jd'; 'qd'; 'kd'; 'ad'; '2s'; '3s'; '4s'; '5s'; '6s'; '7s'; '8s'; '9s'; '10s'; 'js'; 'qs'; 'ks'; 'as'; '2c'; '3c'; '4c'; '5c'; '6c'; '7c'; '8c'; '9c'; '10c'; 'jc'; 'qc'; 'kc'; 'ac'} h = (sum(sum(ismember(deckCheck,dealtDeck))) == 15) & ~issorted(reshape(dealtDeck,15,1)); g = (sum(ismember(deckCheck,deckLeftover)) == (52-15)) & ~issorted(deckLeftover); y_correct = g&h; assert(isequal(g,h))

``` deckCheck = '2h' '3h' '4h' '5h' '6h' '7h' '8h' '9h' '10h' 'jh' 'qh' 'kh' 'ah' '2d' '3d' '4d' '5d' '6d' '7d' '8d' '9d' '10d' 'jd' 'qd' 'kd' 'ad' '2s' '3s' '4s' '5s' '6s' '7s' '8s' '9s' '10s' 'js' 'qs' 'ks' 'as' '2c' '3c' '4c' '5c' '6c' '7c' '8c' '9c' '10c' 'jc' 'qc' 'kc' 'ac' leftover = Columns 1 through 16 15 12 8 44 24 30 35 40 18 6 20 11 14 22 32 16 Columns 17 through 32 28 47 27 45 46 23 42 13 52 29 39 4 33 34 21 25 Columns 33 through 37 5 50 36 41 17 dealtDeck = 'kc' [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = 'kc' '10h' [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = 'kc' '10h' 'jc' [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = 'kc' '10h' 'jc' '4h' [] [] [] [] [] [] [] [] [] [] [] dealtDeck = 'kc' '10h' 'jc' '4h' '6s' [] [] [] [] [] [] [] [] [] [] dealtDeck = 'kc' '10h' 'jc' '4h' '6s' '2h' [] [] [] [] [] [] [] [] [] dealtDeck = 'kc' '10h' 'jc' '4h' '6s' '2h' '5c' [] [] [] [] [] [] [] [] dealtDeck = 'kc' '10h' 'jc' '4h' '6s' '2h' '5c' 'ks' [] [] [] [] [] [] [] dealtDeck = 'kc' '10h' 'jc' '4h' '6s' '2h' '5c' 'ks' 'ad' [] [] [] [] [] [] dealtDeck = 'kc' '10h' 'jc' '4h' '6s' '2h' '5c' 'ks' 'ad' 'jh' [] [] [] [] [] dealtDeck = 'kc' '10h' 'jc' '4h' '6s' '2h' '5c' 'ks' 'ad' 'jh' 'qs' [] [] [] [] dealtDeck = 'kc' '10h' 'jc' '4h' '6s' '2h' '5c' 'ks' 'ad' 'jh' 'qs' '10c' [] [] [] dealtDeck = 'kc' '10h' 'jc' '4h' '6s' '2h' '5c' 'ks' 'ad' 'jh' 'qs' '10c' '7d' [] [] dealtDeck = 'kc' '10h' 'jc' '4h' '6s' '2h' '5c' 'ks' 'ad' 'jh' 'qs' '10c' '7d' '3h' [] dealtDeck = 'kc' '10h' 'jc' '4h' '6s' '2h' '5c' 'ks' 'ad' 'jh' 'qs' '10c' '7d' '3h' '8h' dealtDeck = 'kc' '10h' 'jc' '4h' '6s' '2h' '5c' 'ks' 'ad' 'jh' 'qs' '10c' '7d' '3h' '8h' deckLeftover = '3d' 'kh' '9h' '6c' 'qd' '5s' '10s' '2c' '6d' '7h' '8d' 'qh' '2d' '10d' '7s' '4d' '3s' '9c' '2s' '7c' '8c' 'jd' '4c' 'ah' 'ac' '4s' 'as' '5h' '8s' '9s' '9d' 'kd' '6h' 'qc' 'js' '3c' '5d' deckCheck = '2h' '3h' '4h' '5h' '6h' '7h' '8h' '9h' '10h' 'jh' 'qh' 'kh' 'ah' '2d' '3d' '4d' '5d' '6d' '7d' '8d' '9d' '10d' 'jd' 'qd' 'kd' 'ad' '2s' '3s' '4s' '5s' '6s' '7s' '8s' '9s' '10s' 'js' 'qs' 'ks' 'as' '2c' '3c' '4c' '5c' '6c' '7c' '8c' '9c' '10c' 'jc' 'qc' 'kc' 'ac' ```

3   Pass
%% people = 4; cardsDelt = 7; isJokerIn = 0; [dealtDeck, deckLeftover] = Poker_Deal(people ,cardsDelt ,isJokerIn) deckCheck = {'2h'; '3h'; '4h'; '5h'; '6h'; '7h'; '8h'; '9h'; '10h'; 'jh'; 'qh'; 'kh'; 'ah'; '2d'; '3d'; '4d'; '5d'; '6d'; '7d'; '8d'; '9d'; '10d'; 'jd'; 'qd'; 'kd'; 'ad'; '2s'; '3s'; '4s'; '5s'; '6s'; '7s'; '8s'; '9s'; '10s'; 'js'; 'qs'; 'ks'; 'as'; '2c'; '3c'; '4c'; '5c'; '6c'; '7c'; '8c'; '9c'; '10c'; 'jc'; 'qc'; 'kc'; 'ac'} h = (sum(sum(ismember(deckCheck,dealtDeck))) == 28) & ~issorted(reshape(dealtDeck,28,1)); g = (sum(ismember(deckCheck,deckLeftover)) == (52-28)) & ~issorted(deckLeftover); y_correct = g&h; assert(isequal(g,h))

``` deckCheck = '2h' '3h' '4h' '5h' '6h' '7h' '8h' '9h' '10h' 'jh' 'qh' 'kh' 'ah' '2d' '3d' '4d' '5d' '6d' '7d' '8d' '9d' '10d' 'jd' 'qd' 'kd' 'ad' '2s' '3s' '4s' '5s' '6s' '7s' '8s' '9s' '10s' 'js' 'qs' 'ks' 'as' '2c' '3c' '4c' '5c' '6c' '7c' '8c' '9c' '10c' 'jc' 'qc' 'kc' 'ac' leftover = Columns 1 through 16 52 11 9 33 12 26 13 38 46 35 27 4 19 51 5 23 Columns 17 through 24 48 29 31 37 6 25 8 42 dealtDeck = '3c' [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '3c' '10d' [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '3c' '10d' '4h' [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '3c' '10d' '4h' '9c' [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '3c' '10d' '4h' '9c' '4d' [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '3c' '10d' '4h' '9c' '4d' '2c' [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '3c' '10d' '4h' '9c' '4d' '2c' '9s' [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '3c' '10d' '4h' '9c' '4d' '2c' '9s' '5d' [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '3c' '10d' '4h' '9c' '4d' '2c' '9s' '5d' '8h' [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '3c' '10d' '4h' '9c' '4d' '2c' '9s' '5d' '8h' '2d' [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '3c' '10d' '4h' '9c' '4d' '2c' '9s' '5d' '8h' '2d' '7c' [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '3c' '10d' '4h' '9c' '4d' '2c' '9s' '5d' '8h' '2d' '7c' '5c' [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '3c' '10d' '4h' '9c' '4d' '2c' '9s' '5d' '8h' '2d' '7c' '5c' 'qd' [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '3c' '10d' '4h' '9c' '4d' '2c' '9s' '5d' '8h' '2d' '7c' '5c' 'qd' 'jc' [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '3c' '10d' '4h' '9c' '4d' '2c' '9s' '5d' '8h' '2d' '7c' '5c' 'qd' 'jc' '8d' [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '3c' '10d' '4h' '9c' '4d' '2c' '9s' '5d' '8h' '2d' '7c' '5c' 'qd' 'jc' '8d' 'qc' [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '3c' '10d' '4h' '9c' '4d' '2c' '9s' '5d' '8h' '2d' '7c' '5c' 'qd' 'jc' '8d' 'qc' 'as' [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '3c' '10d' '4h' '9c' '4d' '2c' '9s' '5d' '8h' '2d' '7c' '5c' 'qd' 'jc' '8d' 'qc' 'as' '2h' [] [] [] [] [] [] [] [] [] [] dealtDeck = '3c' '10d' '4h' '9c' '4d' '2c' '9s' '5d' '8h' '2d' '7c' '5c' 'qd' 'jc' '8d' 'qc' 'as' '2h' 'js' [] [] [] [] [] [] [] [] [] dealtDeck = '3c' '10d' '4h' '9c' '4d' '2c' '9s' '5d' '8h' '2d' '7c' '5c' 'qd' 'jc' '8d' 'qc' 'as' '2h' 'js' '6c' [] [] [] [] [] [] [] [] dealtDeck = '3c' '10d' '4h' '9c' '4d' '2c' '9s' '5d' '8h' '2d' '7c' '5c' 'qd' 'jc' '8d' 'qc' 'as' '2h' 'js' '6c' '7s' [] [] [] [] [] [] [] dealtDeck = '3c' '10d' '4h' '9c' '4d' '2c' '9s' '5d' '8h' '2d' '7c' '5c' 'qd' 'jc' '8d' 'qc' 'as' '2h' 'js' '6c' '7s' '3h' [] [] [] [] [] [] dealtDeck = '3c' '10d' '4h' '9c' '4d' '2c' '9s' '5d' '8h' '2d' '7c' '5c' 'qd' 'jc' '8d' 'qc' 'as' '2h' 'js' '6c' '7s' '3h' '6d' [] [] [] [] [] dealtDeck = '3c' '10d' '4h' '9c' '4d' '2c' '9s' '5d' '8h' '2d' '7c' '5c' 'qd' 'jc' '8d' 'qc' 'as' '2h' 'js' '6c' '7s' '3h' '6d' '3d' [] [] [] [] dealtDeck = '3c' '10d' '4h' '9c' '4d' '2c' '9s' '5d' '8h' '2d' '7c' '5c' 'qd' 'jc' '8d' 'qc' 'as' '2h' 'js' '6c' '7s' '3h' '6d' '3d' '5s' [] [] [] dealtDeck = '3c' '10d' '4h' '9c' '4d' '2c' '9s' '5d' '8h' '2d' '7c' '5c' 'qd' 'jc' '8d' 'qc' 'as' '2h' 'js' '6c' '7s' '3h' '6d' '3d' '5s' '3s' [] [] dealtDeck = '3c' '10d' '4h' '9c' '4d' '2c' '9s' '5d' '8h' '2d' '7c' '5c' 'qd' 'jc' '8d' 'qc' 'as' '2h' 'js' '6c' '7s' '3h' '6d' '3d' '5s' '3s' 'jh' [] dealtDeck = '3c' '10d' '4h' '9c' '4d' '2c' '9s' '5d' '8h' '2d' '7c' '5c' 'qd' 'jc' '8d' 'qc' 'as' '2h' 'js' '6c' '7s' '3h' '6d' '3d' '5s' '3s' 'jh' '9d' dealtDeck = '3c' '10d' '4h' '9c' '4d' '2c' '9s' '5d' '8h' '2d' '7c' '5c' 'qd' 'jc' '8d' 'qc' 'as' '2h' 'js' '6c' '7s' '3h' '6d' '3d' '5s' '3s' 'jh' '9d' deckLeftover = 'ac' 'qh' '10h' '8s' 'kh' 'ad' 'ah' 'ks' '8c' '10s' '2s' '5h' '7d' 'kc' '6h' 'jd' '10c' '4s' '6s' 'qs' '7h' 'kd' '9h' '4c' deckCheck = '2h' '3h' '4h' '5h' '6h' '7h' '8h' '9h' '10h' 'jh' 'qh' 'kh' 'ah' '2d' '3d' '4d' '5d' '6d' '7d' '8d' '9d' '10d' 'jd' 'qd' 'kd' 'ad' '2s' '3s' '4s' '5s' '6s' '7s' '8s' '9s' '10s' 'js' 'qs' 'ks' 'as' '2c' '3c' '4c' '5c' '6c' '7c' '8c' '9c' '10c' 'jc' 'qc' 'kc' 'ac' ```

4   Fail
%% people = 5; cardsDelt = 6; isJokerIn = 1; [dealtDeck, deckLeftover] = Poker_Deal(people ,cardsDelt ,isJokerIn) deckCheck = {'2h'; '3h'; '4h'; '5h'; '6h'; '7h'; '8h'; '9h'; '10h'; 'jh'; 'qh'; 'kh'; 'ah'; '2d'; '3d'; '4d'; '5d'; '6d'; '7d'; '8d'; '9d'; '10d'; 'jd'; 'qd'; 'kd'; 'ad'; '2s'; '3s'; '4s'; '5s'; '6s'; '7s'; '8s'; '9s'; '10s'; 'js'; 'qs'; 'ks'; 'as'; '2c'; '3c'; '4c'; '5c'; '6c'; '7c'; '8c'; '9c'; '10c'; 'jc'; 'qc'; 'kc'; 'ac'; 'J'; 'J'} h = (sum(sum(ismember(deckCheck,dealtDeck))) == 30) & ~issorted(reshape(dealtDeck,30,1)); g = (sum(ismember(deckCheck,deckLeftover)) == (54-30)) & ~issorted(deckLeftover); y_correct = g&h; assert(isequal(g,h))

``` deckCheck = '2h' '3h' '4h' '5h' '6h' '7h' '8h' '9h' '10h' 'jh' 'qh' 'kh' 'ah' '2d' '3d' '4d' '5d' '6d' '7d' '8d' '9d' '10d' 'jd' 'qd' 'kd' 'ad' '2s' '3s' '4s' '5s' '6s' '7s' '8s' '9s' '10s' 'js' 'qs' 'ks' 'as' '2c' '3c' '4c' '5c' '6c' '7c' '8c' '9c' '10c' 'jc' 'qc' 'kc' 'ac' 'J' 'J' leftover = Columns 1 through 16 19 54 11 22 36 49 6 30 25 37 15 34 20 40 5 7 Columns 17 through 24 45 48 27 8 29 31 38 24 dealtDeck = '5d' [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] dealtDeck = '5d' '10s' [] [] [] [] [] [] [] [] [] [] ```