Page 115 - TP_Pluse_V2.2_Class_6
P. 115

Let’s BaCk-uP                                                             Factopedia


                       Python is a popular high-level programming language.
                        Interactive  Mode  is a command  line shell  that  gives

                      immediate result for each command.
                        IDLE  stands for  Integrated  Development  and Learning
                      Environment.
                        The input() function takes the user’s input while a program

                      executes.
                        The print()  function  prints  or sends  the  output  to  the
                      standard output device, which is usually a monitor.
                        Variables  are  memory reference  points  where  we  store
                      values which can be accessed or changed later.                             The name Python
                                                                                               was derived from the
                        A data  type  specifies the type  of value a variable  can
                      contain.                                                                 British comedy series
                                                                                                 "Monty Python's
                        Comments  enable  us  to  understand  the  way  a  program
                                                                                                  Flying Circus".
                      works.

                        Operators can be defined as special symbols which perform
                      arithmetic and logical computation.
                        Arithmetic  operators perform  arithmetic  operations
                      between two operands.
                        Assignment  operators  are used  to  assign  the value of the         According to a survey,
                      right expression to the left operand.                                      in the UK in 2015,

                        Relational  operators  are used  to  compare  the value of the           Python overtook
                      two operands and returns True or False accordingly.                       French to become
                        The Precedence of operators determines the order in which                the most popular
                                                                                                language taught in
                      the operators are executed.
                                                                                                 primary schools.











                                                                                               Python does not need
                                                                                               a compiler to execute
                                                                                               a program. It uses an
                                                                                                interpreter instead.





                                                                                        Introduction to Programming  113
   110   111   112   113   114   115   116   117   118   119   120