Page 34 - 2501_KVS_C-8
P. 34

Advantages of Flowchart:
                       1.  Improved Communication            2.  Visual Clarity              3.  Effective Analysis

                       4.  Problem Solving                   5.  Documentation
                      Python: Python is an open-source, high level programming language with simple syntax

                       similar to the English language. It was created by Guido Van Rossum in December 1989.
                       The language name is not about snakes, but its name was picked from British Comedy
                       Troupe Monty Python’s Flying Circus. Guido Van Rossum is a big fan of Monty Python’s
                       Flying Circus.  Python is used by many big companies like NASA, Google, Nokia, IBM,
                       Netflix, Facebook and Yahoo Maps etc.

                      Features of Python:
                       1.   Python  is  Popular:  Python  is  a  popular  programming  language  due  to  its  simple
                           syntax and wide range of applications in various fields.
                       2.   Python is Interpreted: Python is an interpreted programming language. Interpreter
                           is that converter program which converts high level language to machine language,
                           one statement at a time.

                       3.   Python is Free: Python is freely available to download, use, distribute and modify.
                           It is an open-source Programming Language.

                       4.   Python is Portable: Python is a portable programming language. Portability refers
                           to execution of codes on different platforms. If we develop codes for Windows
                           and we want to run on another platform, we don’t need to change it.
                       5.   Python is Easy to Learn and Use: Python is not just easier to understand, but it
                           is also easier to use.
                       6.   Python  support  to  GUI  programming:  Python  supports  GUI  programming  with
                           additional libraries or toolkits.


                  2.2 VARIABLE, DATATYPES AND KEYWORDS
                      Variable: A variable is an identifier or a name used for a value during the program time.
                       E.g., Marks=75.8. Here Marks is a variable which is used to store a value 75.8.

                      Data  Type: A data type is used to specify the type of data that may be used in a
                       variable in python. For example, there may be different types of data which we deal
                       with like integers, decimal values, character values, special characters/symbols, etc.
                       So, in order to store a particular type of value, we need its data type. The given table
                       will show some of the common data types used in python:

                                              Sample Value                       Python Data Type used

                            Integer Values (1,20, 1500, etc.)                                Int

                            Decimal Values (3.14, 1.73, etc.)                               float
                            Character Values (a, d, D, etc.)                               String

                            Special Characters/Symbols (‘@’, ‘#’, ‘!’)                     String

                32                         KVS DELHI REGION 2025
   29   30   31   32   33   34   35   36   37   38   39