Computer Science 2026

HCC Website | Computer Science 2026

Assignment: Hello, World!

Due 9/9 at 11:59

A classic first program to test that your toolchain (runtime environment, compiler, IDE, etc.) is set up properly is the “Hello, World!” program.

…the tradition of using the phrase “Hello, World!” as a test message was influenced by an example program in the 1978 book The C Programming Language…

See Wikipedia page to read more about it.

First, you need to create a new project in Replit. Go to this Python template and click the “Remix” button.

Python template

Name your project “Hello, World!” and update the description to “Week 1 project for HCC Comp Sci.”

Python template settings

Finally, press the “Use Framework” button. This will create a new project and open the editor.

Initial layout of Replit editor

Next we need to disable the AI tooling. Hide the AI agent panel by dragging the divider in the middle of the screen to the left.

Hide AI agent panel

At the top of the screen, you will see a “Tools and files” button; press it to open the tools and files panel.

Tools and files panel

Search for “User Settings” and open it. Find the “Code Editing” section and un-toggle the “AI Code Completion” option.

Disable AI code completion

Now we need to open a script for editing. Close the “User Settings” tab and open the “Tools and Files” tab again. Search for main.py and open it.

Editing main.py file

To make things easier while developing, let’s configure the text editor and console to be side-by-side. First, make sure the “Console” tab is open as well; if it is not, find it and open it in a new “Tools and Files” tab. Then, click and drag the main.py tab to the far left of the screen; this will snap the two panes side-by-side.

Side-by-side text editor and console panels

Now we’re ready to write some code! Type the following into the main.py file:

print("Hello, World!")

Press the “Run” button to execute the code (green play icon at the top left). You should see “Hello, World!” printed to the console in the panel on the right.

Hello, World! in console

The term “printing” in computer programming originates from the early days of computing, when output was often produced on physical printers. In the 1950s and 1960s, computers used line printers, which printed output on paper, line by line. Programmers would write code to “print” output to the printer, which would then produce a physical printout of the results.

Download a copy of your code by right-clicking the main.py tab and selecting “Download”.

Download main.py

Upload your main.py file to the “Hello, World!” assignment in ThinkWave. Congratulations, you’ve just completed your first programming project! 🎉