Go to file
kathrynoh23 3dcfa5d315 Kathryn Odell-Hamilton
Started out with repetitive code to draw shapes, then used "ranges"
to simplfy code drawing shapes and print numbers (even, odd, multiples),
and experimenting with a complicated set of ranges drawing tiles
with patterns.

Checkpoint 1
- Yes, at first it was difficult drawing squares using a for-loop.
I understood the definition of "square" with a for-loop in range of 4,
the 4 sides using once each, forward and right. I didn't realize that
the sizes = [20, 20, 20, 20] needed to be included within the code
where it tells "for size in sizes" the square size and move forward
to draw the next square. I reviewed the Iteration documentation several
times and online, docs.python.org/3/library/turtle.html. Also, I asked
you for assistance and then it made sense.

Checkpoint 2
- I liked using “ranges” to generate a sequence of numbers and
simplifying repetitive code.
- Defining the sizes for a def and range. Such as "def square(side_length)".
I see it's reference in "forward(side_length)", but (side_length) it seems
arbitrary and abstract. Is it how to best describe what the "def" is.
Are we talking about the name and value? And then defined within a
"for-loop" incorporating a "range"?

Checkpoint 3
- Yes, I will write docstrings when writing programs. The docstrings good
for writing multiple lines of information explaining the code function
by using """ at the beginning and end of the lines instead of " for each
line.
-Docstrings were useful with typing the explanation in tile_grid.py
and experimented information in tile.py files.
2023-08-15 15:02:10 -04:00
__pycache__ Kathryn Odell-Hamilton 2023-08-15 15:02:10 -04:00
.DS_Store Kathryn Odell-Hamilton 2023-08-15 15:02:10 -04:00
.commit_template Initial commit 2023-07-19 21:23:35 +00:00
draw_shapes_inside_shapes.py Kathryn Odell-Hamilton 2023-08-15 15:02:10 -04:00
drawtiles.py Kathryn Odell-Hamilton 2023-08-15 15:02:10 -04:00
experimenting_circles.py Kathryn Odell-Hamilton 2023-08-15 15:02:10 -04:00
poetry.lock Kathryn Odell-Hamilton 2023-08-15 15:02:10 -04:00
pyproject.toml Initial commit 2023-07-19 21:23:35 +00:00
ranges.py Kathryn Odell-Hamilton 2023-08-15 15:02:10 -04:00
square.py Kathryn Odell-Hamilton 2023-08-15 15:02:10 -04:00
square_lists_drawing_squares.py Kathryn Odell-Hamilton 2023-08-15 15:02:10 -04:00
square_multiple pen up n down.py Kathryn Odell-Hamilton 2023-08-15 15:02:10 -04:00
square_sidebyside.py Kathryn Odell-Hamilton 2023-08-15 15:02:10 -04:00
square_test_with_space_inbetween.py Kathryn Odell-Hamilton 2023-08-15 15:02:10 -04:00
square_with_space_inbetween.py Kathryn Odell-Hamilton 2023-08-15 15:02:10 -04:00
tile.py Kathryn Odell-Hamilton 2023-08-15 15:02:10 -04:00
tile_grid.py Kathryn Odell-Hamilton 2023-08-15 15:02:10 -04:00
tile_new_pattern.py Kathryn Odell-Hamilton 2023-08-15 15:02:10 -04:00