generated from mwc/lab_iteration
I found it interesting that the range function can be used to avoid the need for a long list in python. I also found it interesting that the range does not use the last item (the maximum), so I added maximum+1 in a couple of spots to make the output read more accurately. I was surprised that it worked that easily, but am also wondering if there is a way to use a range as inclusive of both the start and end value. Another thing I am curious about is how to use ranges for a purpose besides generating a list of numbers. |
||
---|---|---|
.commit_template | ||
drawtiles.py | ||
poetry.lock | ||
pyproject.toml | ||
ranges.py | ||
square.py | ||
tile.py | ||
tile_grid.py |