Tutorials for Beginners
With Nithish
In this summery we 'll see how to print something on the console or you can say
we will write our
program in python. What do we use in python 3. 10 through point x version python
1. x python 2.
x but python 2. x version they have ended the support for python two point x. x.
In python the
syntax is python in python 3 3. x in python two point x the previous uh versions
print was just a
statement it was not a function. In python 2. x it was considered it was as a
statement in python
-. 2 point x is a function so if you write something like this if you do n't put
these parentheses you
will get error message syntax error message. Id will give you these kind of
things if you use id this
is you can see some features or some advantages of using id c missing closing
codes so from here
only you will come to know yeah you have missed quotes or if you run this here
also you will get c
now type of error c.
This is also a skill to identify what is the error type of error in which line at
all okay so you have to
you know learn this thing also parallel okay now see you can see one arrow here
you have started
started this string literal but you have n't terminated here in line number one.
If you remove this
double quote from here this parenthesis and the ending of the parentheses
parenthesis this is also
in green color so there is something wrong you can identify okay okay now put
this one and just
run this again so it will print now. See a coding exercise related to this print
function right so i 'll
see you in the next summery till then bye take. see a coding. exercise related.
to this function
right. See a. coding exercise. related to the print function in this video. see
a. video below.
Thank You