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.
Before starting, complete the software install instructions.
Create a folder for your class projects (for example, Documents/HCC-Computer-Science). Open it in VS Code by navigating to File > Open Folder.
In the Explorer panel (two pages icon on the left), create a new file named main.py.
Type the following code into main.py:
print("Hello, World!")
Run your program using the “Run Python File” button (play icon, top right). You can also open the integrated terminal (View > Terminal) and run:
python main.py
You should see Hello, World! printed in the terminal.
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.
Upload your main.py file to the “Hello, World!” assignment in ThinkWave. Congratulations, you’ve just completed your first programming project! 🎉