in this video you'll learn how to make
the most basic Python program one which
displays text on the screen when you run
these programs you'll see the text
appear on your screen in what is called
the console window or just the console
you can print in python using the print
statement it looks like this first you
have to start with the word print you
then need a space and unique quotation
marks around the thing you want to print
note that these are double quotes so you
need to hold shift and press the
apostrophe key you shouldn't just put
two apostrophes next to each other a
sequence of characters surrounded by
quotes is called a string you'll learn
more about Strings later as a minor note
it is not uncommon for Python
programmers to print like this using
both parentheses and quotation marks
around the thing that gets printed in
this course however we won't be using
parentheses with print so here we have
your program or code on the left and
your console window on the right when
you click the Run button the Python
interpreter will jump right to the first
and in this case only line in your
program it executes that line and you
see hello world appear in your console a
program is essentially a sequence of
instructions if we have two prints in
our program instead of one they will be
executed in order the interpreter
executes the first one and then it
executes the second one let's go to the
editor to see this in action okay real
quick I want to demonstrate writing a
couple of programs one of which just
prints one line to the console and one
of which prints multiple lines if we
want to print a single line write print
and then a space and then in quotes we
put whatever we want to print like hi
now we can go over here to the Run
button and when I run this hi appears in
the console now watch what happens when
I don't include the quotes if I forget
the quotation marks and try to run it
python is gonna yell at me and it's not
gonna tell me anything more descriptive
then you have a problem on line one so
really I just have to stare at this line
until I realized that I forgot the
quotation marks let's add these back in
and let's add another print statement
nice to meet you and now when I run this
you can see that the two print
statements execute sequentially it
prints high and then it prints nice to
meet you