Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: zhiwehu/Python-programming-exercises
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: mithun035/Python-programming-exercises
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 1 file changed
  • 1 contributor

Commits on Nov 19, 2025

  1. Add hello world program (#1)

    ### TL;DR
    
    Added a new main.py file with a basic "Hello World" program.
    
    ### What changed?
    
    Created a new Python file `main.py` that contains a simple main function which prints "Hello World" to the console. The script includes the standard Python idiom to ensure the main function is only executed when the script is run directly.
    
    ### How to test?
    
    Run the Python script from the command line:
    ```
    python main.py
    ```
    You should see "Hello World" printed to the console.
    
    ### Why make this change?
    
    This establishes the entry point for the application and provides a minimal working example to verify the basic execution environment is set up correctly.
    mithun035 authored Nov 19, 2025
    Configuration menu
    Copy the full SHA
    c44f67b View commit details
    Browse the repository at this point in the history
  2. rad-runner (#2)

    ### TL;DR
    
    Added a new `runner()` function to main.py.
    
    ### What changed?
    
    Added a new function called `runner()` that prints "Road Runner" to the console. The function is defined but not yet called anywhere in the code.
    
    ### How to test?
    
    1. Import the function in a Python shell or another file:
       ```python
       from main import runner
       ```
    2. Call the function and verify it prints "Road Runner":
       ```python
       runner()
       ```
    
    ### Why make this change?
    
    This function is being added to support upcoming functionality that will require the "Road Runner" output. This is the first step in implementing that feature.
    mithun035 authored Nov 19, 2025
    Configuration menu
    Copy the full SHA
    ce48589 View commit details
    Browse the repository at this point in the history
  3. Update msg (#3)

    ### TL;DR
    
    Updated the runner function to indicate the Coyote finally catches the Road Runner.
    
    ### What changed?
    
    Modified the message in the `runner()` function from "Road Runner" to "Coyote catches the Road Runner", changing the classic cartoon outcome.
    
    ### How to test?
    
    1. Run the application
    2. Call the `runner()` function
    3. Verify that the output displays "Coyote catches the Road Runner" instead of "Road Runner"
    
    ### Why make this change?
    
    After decades of failed attempts, the Coyote deserves a win. This change updates the narrative to give him the victory he's been chasing for so long.
    mithun035 authored Nov 19, 2025
    Configuration menu
    Copy the full SHA
    387ee3b View commit details
    Browse the repository at this point in the history
Loading