rubend18 commited on
Commit
f7b9d4d
1 Parent(s): 2e22477

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -1,17 +1,17 @@
1
  def print_board(tablero):
2
  output = ""
3
  for i in range(len(tablero)):
4
- if i % 3 == 0 and i != 0:
5
- output += "------+-------+------\n"
6
 
7
  for j in range(len(tablero[0])):
8
- if j % 3 == 0 and j != 0:
9
- output += "| "
10
 
11
  if j == 8:
12
  output += str(tablero[i][j]) + "\n"
13
  else:
14
- output += str(tablero[i][j]) + " "
15
 
16
  return output
17
 
 
1
  def print_board(tablero):
2
  output = ""
3
  for i in range(len(tablero)):
4
+ #if i % 3 == 0 and i != 0:
5
+ # output += "------+-------+------\n"
6
 
7
  for j in range(len(tablero[0])):
8
+ #if j % 3 == 0 and j != 0:
9
+ # output += "| "
10
 
11
  if j == 8:
12
  output += str(tablero[i][j]) + "\n"
13
  else:
14
+ output += str(tablero[i][j]) + " "
15
 
16
  return output
17