Posts by rxpha • 11 points
3 posts
-
0
votes1
answer34
viewsQ: How to group two indexes in a tuple?
I want to group two indices that are received from positions that are results of if’s/Elif’s def MakeListOfFreeFields(board): n_rows = len(board) n_cols = len(board[0]) tfields = () for row in…
-
0
votes2
answers418
viewsA: How can I recover File explorer from VS Code side menu?
Try using Ctrl+B or View Menu [
visual-studio-codeanswered rxpha 11 -
0
votes1
answer23
viewsQ: How can I compare a variable within a list of lists by reading/changing their content in Python?
board=[['1','2','3'], ['4','5','6'], ['7','8','9']] p_move = input('Enter your move: ')) # p_move = '4' for row in board: for column in row: if p_move ==…