7 kyu

Python Checkerboard

673 of 706gaptekar

Description:

You are trying to make a checkerboard made up of X's and O's. You've implemented the function before in a different language but it just won't work. The function creates an n by n board of X's and O's.

For example (Input --> Output)

n = 4 -->
[['X', 'O', 'X', 'O'],
 ['O', 'X', 'O', 'X'],
 ['X', 'O', 'X', 'O'],
 ['O', 'X', 'O', 'X']]
Debugging

Stats:

CreatedJul 2, 2016
PublishedJul 3, 2016
Warriors Trained1709
Total Skips24
Total Code Submissions2548
Total Times Completed706
Python Completions673
Ruby Completions44
Total Stars29
% of votes with a positive feedback rating88% of 194
Total "Very Satisfied" Votes155
Total "Somewhat Satisfied" Votes30
Total "Not Satisfied" Votes9
Total Rank Assessments9
Average Assessed Rank
6 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • gaptekar Avatar
  • smile67 Avatar
  • user8476848 Avatar
  • user8436785 Avatar
  • ejini战神 Avatar
Ad