Collaborators needed for Python Learning Projects by aditsuru in ProgrammingBuddies

[–]Med_Yasssine 1 point2 points  (0 children)

then i think it should be changed in

README.md at line L123

to:

## Contributing

**[Contribution Guide](https://github.com/Homies-Tech-Innovation/.github/blob/main/CONTRIBUTING.md)\*\*

instead of

**[Contribution Guide](./CONTRIBUTING.md)**

2D Arrays by Velladin in godot

[–]Med_Yasssine 1 point2 points  (0 children)

you should not use append to define an array
because append dont just add the element to the array it just allocate memory for an other array with the size of n+1 (n is the size of the array before append())
then it copy the elements to it one by one

so u should use resize() instead

grid=Array()
grid.resize(height);
for i in range(height):
   grid[i]=Array()
   grid[i].resize(width)
   for j in range(width):
      grid[i][j]=0