while doing an assignment i am struck to a question that how do i make a string from row i am having the following problem
def make_str_from_row(board, row_index):
make_str_from_row([['A', 'N', 'T', 'T'], ['X', 'S', 'O', 'B']], 0)
str = "".join[(make_str_from_row[0][0])]
print(str)
the answer should be 'ANTT'
but i am getting an error
TypeError: 'function' object is not subscriptable