Page 104 - Touchpad_Plus_V3.2_Class 6
P. 104

9                       Introduction to Python
















                                   Your Aim

                                    to learn about:
                                            Python                      Features of Python
                                            Installing Python IDLE           Programming in Python
                                             Input and Output                      Variables in Python
                                             Data Types                       Comments in Python
                                              Operators                         Precedence of Operators
                                               Sample Programs

                  Have you played games on a mobile device or a computer. Have you seen a website? How is it
                  developed? Let us find out the answers of these questions.
                  These games and websites are programs or applications developed by using a programming

                  language. There are a number of programming languages. Some of them are C, C++ and Python.
                  In this chapter, we will learn about Python and how to develop programs in Python.
                      PYTHON


                  Python is a popular  high-level programming  language.  It is  a powerful  language  used for
                  general-purpose  programming.  Python  was  developed  by  Guido  van Rossum.  He  began
                  developing Python in 1989. Python is extensively used to develop:
                      ✶ games                                            ✶ websites
                      ✶ Graphical User Interface programs                ✶ web applications

                      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 code is similar
                     to the English language.
                      ✶ Open-source  language:  Python  is a  free  and  open-source  programming  language.  An
                     open-source language is one which can be easily improved and distributed by anyone. You

                     can download Python for free and use it on any operating system such as Windows, Mac or
                     Linux.
                      ✶ Object-Oriented: Python has an object-oriented approach. This means that the "programs
                     are designed using objects and classes, which interact with each other.




               102      Plus (Ver. 3.2)-VI
   99   100   101   102   103   104   105   106   107   108   109