Page 47 - Computer - 7
P. 47

4 4                         Variables & Operators
                                                          Variables & Operators



                                                                                            in Python
                                                                                            in Python





                Pre-Processing




                      • Features of Python                        • Starting Python
                      • Components of Python IDLE Window  • Working with Python IDLE

                      • Data Types in Python                      • Declaring and Initialising a Variable
                      • Operators in Python                       • Precedence of Operators


          Python  is  an  interpreted,  object-oriented,  high-level  programming  language  for  general-purpose
          programming. It was developed by Guido van Rossum. Its high-level built in data structures, combined
          with dynamic typing, make it very attractive for Rapid Application Development (RAD).  Python’s simple,
          easy-to-learn  syntax  emphasises  readability  and  reduces  the  cost  of  creation  and  maintenance  of
          programs.

          The standard development environment for Python is called IDLE (Integrated Development and Learning
          Environment). It lets a user write, debug, and execute code from the same interface.

          FEATURES OF PYTHON

            1.  Python is easy to learn and use. It is a programmer-friendly language.
            2.  It is an interpreted language, i.e., the code is executed line by line at a time.
            3.  It is portable and machine-independent.

            4.  Python supports object-oriented programming and the concepts of classes and objects.
            5.  it has a large library of functions that a programmer can use directly in code.

            6.  Python programs find applications in almost every field, including robotics, Artificial Intelligence,
                mobile technology, data science, and software development.
            7.  Python IDLE is freely available from its official website: https://www.python.org.


          STARTING PYTHON
          To start Python IDLE:
            1.  Click the Start button.
                 The Start menu opens.                                         2

            2.  In the list of programs, under Python 3.11, click IDLE
                (Python 3.11 64-bit).
                 Python starts and its IDLE window opens.                      1


                                                                                                              45
   42   43   44   45   46   47   48   49   50   51   52