Hands-on lab

Python for Beginners: Build Practical Software Skills with Hospital-Themed Projects
Lesson Content
0% Complete

Create a simple script that prints a fictional hospital greeting, includes one comment, and runs without errors from the terminal.

Reveal step-by-step solution

1. Open VS Code and create a new file named hospital_greeting.py. 2. Add a comment such as # Practice script for a fictional clinic. 3. Type print('Welcome to Northvale Clinic Systems'). 4. Save the file. 5. Open the terminal in the same folder. 6. Run python hospital_greeting.py or python3 hospital_greeting.py depending on the system. 7. Confirm the greeting appears on screen. 8. Edit the message once and run it again to verify the change.