<s> from random import randint <EOL> board = [ ] <EOL> for x in range ( <NUM_LIT:0> , <NUM_LIT:5> ) : <EOL> board . append ( [ "<STR_LIT:O>" ] * <NUM_LIT:5> ) <EOL> def print_board ( board ) : <EOL> for row in board : <EOL> print "<STR_LIT:U+0020>" . join ( row ) <EOL> def random_row ( board ) : <EOL> return randint ( <NUM_LIT:0> , len ( board ) - <NUM_LIT:1> ) <EOL> def random_col ( board ) : <EOL> return randint ( <NUM_LIT:0> , len ( board [ <NUM_LIT:0> ] ) - <NUM_LIT:1> ) <EOL> print random_row ( board ) <EOL> print random_col ( board ) </s>
