I feel this code is pretty clean and close. If only I could get this to print 5 times for the rows. Will this work if I can get it to print 5 rows somehow. So far if I print *5 somewhere it just prints one long vertical line of O’s…
Currently it prints: [‘O’, ‘O’, ‘O’, ‘O’, ‘O’]
for the assignment I get error:" It looks like you do not have 5 rows in your list." So pretty close?!
def createboard(spaces): board =  for space in range(len(spaces)): board += spc * 5 return board spc = ["O"] createboard(spc)