Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Welcome to Code Forum!
Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.
I am trying to create a 2d array consisting of various attributes from an object, then sorting the array to find a specific min and its related values. I keep getting the error: list assignment index out of range
Here is some sample code:
while c < len(cool_stuff):
if...
I've been learning about maze Algorithms and have started developing my own. I am still at the very beginning of my maze development. Currently I have three cells stacked on top of each other using these strings down below. What I am aiming for is to have three columns and three rows of cells...
def solve_board(board):
for i in range(9):
for j in range(9):
if board[i][j] == '0':
for k in range(1, 10):
if not check_number(board, k, i, j):
board[i][j] = str(k)
if solve_board(board)...
hey i hope that someone here can help my with my question. in my homework I was asked to write a code that receives from the user 10 strings in size 10 Into an array of strings that will act like a dictionary. for example if the user enter bbb , ccc , abc , acb. the code will print abc acb bbb...