I'm not a programmer; I'm taking my first course in Python and I have absolutely no experience, so please excuse this if it's mindbogglingly simple and I'm just a dummy.
I have to do an assignment and can't get past the second question:
I have to do an assignment and can't get past the second question:
def make_str_from_row(board, row_index): """ (list of list of str, int) -> str Return the characters from the row of the board with index row_index as a single string. >>> make_str_from_row([['A', 'N', 'T', 'T'], ['X', 'S', 'O', 'B']], 0) 'ANTT' """I have figured out in my practice shell what it is that I need to do (i.e. isolate the indexed board, then use ''.join() to return the characters as a single string). However, I can't seem to get the code correct in my .py file. Could someone please explain to me what I have to do here? The assignment is due in 36 hours and I'm freaking out.