Python coding Series:
Episode 2: Python Print Statement:
Hello guys, welcome back to the series and today we will be seeing about python's basics and the first thing every beginner learns that is the Print function.
The syntax for it is:
print ("Hello world")
This defines that we have to Print something that is the 'Hello world'. We can type whatever we want and there are some basic rules to follow or else there might be some errors.
The Rules are as follows:
- The Letter 'p' should always be written in Small and not in uppercase.
- There should be a quotes either single or Double, but using double quotes is better to avoid errors for a string which will be learnt later.
- An open bracket and a close bracket should also be included always.
Hope you enjoyed the episode. Meet you back on the next episode on Python. Until then Bye!
By the Blog Author.
0 Comments