I'm new to python. I'm making a simple text-based chess program, and everything works fine except for one function. Whenever I copy array 'p' into array 'lb', if I modify 'p', 'lb' changes with it. I'm not really familiar with python variable properties, and it just mistifies me why array 'lb'...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.