Answer the question
In order to leave comments, you need to log in
How to properly declare a python array so that there are no references?
I declare a two-dimensional array
a=*5
when adding values to the array
a[0].append(1)
the value appears everywhere because array refers to one object how to remove it without handicaps
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question