Tell us what’s happening:
Why does the terminal/console not print the errors, or the output on challenges so that we can better figure out what our error is.
I get, “error occured” but it does not say what the error is.
I get, " … should return …" but doesn’t show me what my output was.
my program works on my local IDE, before I even transfer it over to freeCodeCamp.
Your code so far
def create_board(dimensions):
row = dimensions[1]
col = dimensions[0]
board = []
x = True
for _ in range(row):
board.append([])
for i in range(row):
for j in range(col):
if x:
board[i].append("X")
x = False
else:
board[i].append("O")
x = True
return board
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0
Challenge Information:
Daily Coding Challenge - Checkerboard
https://www.freecodecamp.org/learn/daily-coding-challenge/2025-12-18