What is Python?
Python is a popular programming language was created by Guido van Rossum, and released in 1991.

It is used for:
web development (server-side),
software development,
mathematics,
system scripting.

What we can do with Python?
On a server to create web applications.
Python can be used alongside software to create workflows.
Can connect to database systems. It can also read and modify files.
To handle big data and perform complex mathematics.
For rapid prototyping, or for production-ready software development.

Why we will learn Python?
Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc). It has a simple syntax similar to the English language. Python has a syntax that allows developers to write programs with fewer lines than some other programming languages. Python runs on an interpreter system, meaning that code can be executed as soon as it is written. This means that prototyping can be very quick. Python can be treated in a procedural way, an object-orientated way or a functional way.

Python is a very simple language, and has a very straightforward syntax. It encourages programmers to program without boilerplate (prepared) code. The simplest directive in Python is the “print” directive – it simply prints out a line (and also includes a newline, unlike in C).

There are two major Python versions, Python 2 and Python 3. Python 2 and 3 are quite different. This tutorial uses Python 3, because it more semantically correct and supports newer features.

For example, one difference between Python 2 and 3 is the print statement. In Python 2, the “print” statement is not a function, and therefore it is invoked without parentheses. However, in Python 3, it is a function and must be invoked with parentheses.

To print a string in Python 3, just write on the ide below (Don’t forget to remove all texts displayed on the ide and run the code:
print("This line will be printed.")

Exercise:
Use the “print” command to print the lines:

1. Whats is your name
2. Do you like football?
3. What’s your favorite movie?

 

If you face any problem, or any suggestion please comment below.