Commit Graph

2 Commits

Author SHA1 Message Date
Cory Dean Chung 34ca650305 I implemented print_even_numbers,
print_odd_numbers, and print_multiples_of_five.

Checkpoint 2:
I understand the "stride" in a for loop.
Overall, I feel comfortable with ranges. The only
thing I was unsure of was whether I did
print_even_numbers correctly. The assignment
specified that print_all_numbers was implemented
correctly, and when I input 8 the output was the
integers from 0 to 7 inclusive. When I did
print_even_numbers(8), it returned 0 2 4 6. I
would've thought from the description, returning
even numbers from 0 to maximum, would also include
8, but since print_all_numbers did not include the
maximum itself, I left it as is.
2023-07-20 12:50:17 -04:00
cchung 7273239465 Initial commit 2023-07-19 20:14:07 +00:00