Skip to content

Conversation

JFincher42
Copy link
Contributor

Where to put new files:

  • New files should go into a top-level subfolder, named after the article slug. For example: my-awesome-article

How to merge your changes:

  1. Make sure the CI code style tests all pass (+ run the automatic code formatter if necessary).
  2. Find an RP Team member on Slack and ask them to review & approve your PR.
  3. Once the PR has one positive ("approved") review, GitHub lets you merge the PR.
  4. 🎉

JFincher42 and others added 3 commits April 22, 2025 12:02
Add pyproject.toml,
Add named scripts,
Rename script,
Remove initial versions of scripts
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces initial code files for the "Skip Ahead with Continue" tutorial, demonstrating various examples of using the continue statement in different contexts.

  • Adds a script to sum whole numbers while skipping negatives.
  • Provides examples illustrating try/continue/finally behavior and code disassembly via instaviz, along with an Advent of Code puzzle solution.

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
skip-ahead-with-continue/sum_whole_numbers.py Sums positive whole numbers and demonstrates input handling with the walrus operator.
skip-ahead-with-continue/pyproject.toml Establishes project metadata and dependency on instaviz.
skip-ahead-with-continue/continue_finally.py Illustrates try-finally behavior when continue is executed.
skip-ahead-with-continue/code_disassembly.py Uses instaviz to visualize a simple addition function.
skip-ahead-with-continue/aoc_2022_d7.py Provides a parsing solution for an Advent of Code challenge.
skip-ahead-with-continue/README.md Documents the purpose and context for the code examples.

@bzaczynski bzaczynski merged commit 1625a07 into master Jul 29, 2025
1 check passed
@bzaczynski bzaczynski deleted the skip-ahead-with-continue branch July 29, 2025 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants