#3 make a list


I do not understand the error message, can someone tell me what I am doing wrong?

Oops, try again. Your code looks a bit off. Check the Hint if you need help! Your code threw the following error: 'builtin_function_or_method' object has no attribute 'getitem'

for i in range(0, 5):
    board.append["O"] * 5
print board


Hi @gr8_bb8 ,

You have ...

board.append["O"] * 5

To pass an argument to a method, within what must the argument be enclosed?


thank you it says i passed but the console shows,

[['O', 'O', 'O', 'O', 'O'], ['O', 'O', 'O', 'O', 'O'], ['O', 'O', 'O', 'O', 'O'], ['O', 'O', 'O', 'O', 'O'], ['O', 'O', 'O', 'O', 'O']]

not five rows of O's
should I keep trying?


Yes, and you will get opportunities to do exactly that in the upcoming exercises, especially in Exercise 5: Custom Print.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.