Page 129 - TP_Prime_v2.2_Class_6
P. 129

09

                                                     INTRODUCTION TO

                                                                  PYTHON








                                                                            Learning Objectives                              INTRODUCTION TO PYTHON
                                                                            •  Python                 •  Features of Python
                                                                            •  Installing Python       •  Modes of Python IDLE
                                                                            •  The input( ) and print( ) Functions
                                                                            •  The type( ) Function
                                                                            •  Variables in Python
                                                                            •  Data Types of Python
                                 Today in the morning, my elder             •  Using Separators with print( ) Function    127
                                brother and his friends were talking         •  Comments in Python
                                about Python. Were they talking about Python snake or something else?


                                They  were talking about  Python  programming language?  Let's  learn about
                               Python.


                   Python


                 Python  is a  general-purpose  high-level  programming language.  It can  be used to write

                 computer programs. Python was created by Guido Van Rossum in 1991 while working at the
                 National Institute of Mathematics and Computer Science in Netherlands.

                 Python is extensively used to develop:

                 • games     • Graphical User Interface programs     • websites                   • web applications

                   Features of Python


                 The following are the features of Python:

                 •  Easy  to  code: It is very easy  to write programs  in Python  as  compared  to other
                   high-level programming languages. This is because the language used to write Python
                   codes is similar to the English language.

                 •  Open-source language:  Python  is a  free and open-source  programming language.  An
                   open-source language can be easily improved and distributed by anyone. You can download

                   Python free of cost and use it on any operating system such as Windows, Mac or Linux.
   124   125   126   127   128   129   130   131   132   133   134