Pythorial #1 - Output Statement

So fellow coder, you have decided to learn how to program using Python. 

The following tutorial is the first of a series of tutorials mainly for beginners. Even if you have no coding experience, these tutorials are meant to make you understand what coding is all about. Let's start... 

The first thing you need to learn is obviously how to make the computer tell you things. The statement used for this purpose is called a print statement. 

Syntax:

print("<Add any text or variable here>")


The print statement prints anything that is entered between the brackets. Text must be between quotes (" " or ' ') and variables are entered without quotes. Whatever is entered between quotes will be outputted as it is. 

This is one of the most important statements in Python but quite simple. Try it out in your editor.

For Pythorial #2: Pythorial #2 - Input Statement (thepygrammer.blogspot.com) 

Comments