<Below this line, add a link to the EXACT exercise that you are stuck at.>

I wonder what exactly that (-1) does? randint(0,len(board_in)-1)
Thank you in advance


because list (and strings) are zero-indexed based while len(gth) start counting at 1, so if you do not subtract one, you might get an index error


Oh dear Stetim94 thank youuuuuuu soooooo much. I got it now.:rose::rose: