Page 116 - TechPluse_C7_Flipbook
P. 116

10                    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 in mobile or on computer system? 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 language, C++
                  and Python. In this chapter, you 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  started  applying
                  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 codes 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 free of cost 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 that interact with each other.




               114      Premium Edition-VII
   111   112   113   114   115   116   117   118   119   120   121