Hello, World
Here is a simple "Hello World" program in Python:
print("Hello, World!")
Steps to Run
Save the code: Save the above code in a file named
hello.py
.Open a terminal: Navigate to the directory where
hello.py
is saved.Run the script: Use the
python3
command to run the script. Run the following command:python3 hello.py
This will output:
Hello, World!
Last modified: 01 January 2025