Key Terms
- Hello World Program
- A program that prints the string "Hello World" to the console.
- Sanity Check
- Any method to verify that a programming environment is set up correctly and functioning properly
Welcome to the world of programming in Python! One of the first things you do in any programming language is write what is called a Hello World program. A "Hello World" program accomplishes two things: performs a sanity check and your first program. Here is what the Hello World program in Python looks like:
print('Hello World!')
> Hello World!
If you get the above output then you have a working Python install.
Now you may have some questions like why does "Hello World" have to be
written with single quotes around it and what is
print? These questions and more will be
answered as we go through this course.