Ask coding questions

← Back to all posts
Bug in python list replacement?

hello peoples

I've been trying to develop a small library for making a terminal game for myself (i be greedy).
The problem is, when I tried to make a function to change a certain character (.insert()), the function ended up changing all of the characters in that character's column.
I've reviewed the code again and again but cannot find the reason for my error.

any help is appreciated