
Concepts: Hello World
Building and running your first Python program.
Building Your First Python Program
The first step to learning how to use Python is to learn how to use the interpreter installed on you computer system. In this exercise you will be learning how to write some simple code in your interpreter and have it run correctly.
- Open your Python interpreter.
- Type the following code into your Python window:
print("Hello, World!") - Press the Enter key.
- Your Python program should run and spit out the following output:
> "Hello, World!"
SOLUTION*: Once you're done, here's what your Python interpreter should look like (roughly):
print("Hello, World!")
> "Hello, World!"
Once you have gotten "Hello World" to correctly print out in the interpreter,
Congratulations, You have written your first Python code!
Please continue on to the next exercise!