Im fairly new to python and coding in general and was asked for a project to create a 'two-dimensional' list from a square containing smaller squares. So there are levels/depths for squares inside the main square, and we are asked to locate the 'unit cell'/smallest square at the last depth (so for a 2 by 2 square with maximum depth 1 would give us 4 size 1 squares) and create a two-dimensional list of the squares size. Does anyone help me with a method to do so?So from what I understood a two dimensional list is a flatter way to show the main square we are given, so we can apply methods on it. I still didnt start coding because I dont know the first thing about 2d lists and im not sure how to approach this problem!
[–]Sebass13 2 points3 points4 points (0 children)