Hello fellow colleagues,

Below is the screen shot of the solution and the links to the tasks and just for you guys to know l am new to coding

Make a list

Here l thought of writing my code in this way,kindly let me know where l am wrong,

def rows = (1,2,3,4,5):
for item in range:
print([“0”] * 5)

Custom print

Here l don’t understand:

  1. why they are using the word row,does this have to be defined first,
    2.Why they just said print_board(board) and not print print_board(board)

Thank you,


row is the iterator, you define this variable in the loop. Python will now assign each value from the list to the iterator

the functions job is to print, the function doesn’t (have to) return anything.