
Implement drop_tokens, which plays tokens into the columns of an upright board and returns the board as rows of text.
drop_tokens(4, 3, [(1, "x"), (2, "o"), (1, "x")])['....', '.x..', '.xo.']drop_tokens(2, 2, [(0, "a"), (0, "b"), (0, "c"), (5, "d")])['b.', 'a.']drop_tokens(3, 0, [(1, "z")])[]drop_tokens.py
Run the tests to grade your code
Implement drop_tokens, which plays tokens into the columns of an upright board and returns the board as rows of text.
drop_tokens(4, 3, [(1, "x"), (2, "o"), (1, "x")])['....', '.x..', '.xo.']drop_tokens(2, 2, [(0, "a"), (0, "b"), (0, "c"), (5, "d")])['b.', 'a.']drop_tokens(3, 0, [(1, "z")])[]drop_tokens.py
Run the tests to grade your code
Variables will appear here