Page 165 - Ai_V3.0_c11_flipbook
P. 165

UNIT-3





                                                                  PYTHON PROGRAMMING














                                  Learning Outcomes



                     •  Features of Python                           •  Downloading and Installing Python
                     •  Variety of Python Editors                    •  Jupyter Notebook
                     •  Modes in Python                              •  Input and Output
                     •  Comments in Python                           •  Character Set
                     •  Tokens                                       •  Variables
                     •  Data Types in Python                         •  Operations on List
                     •  Operations on Tuple                          •  Operations on Dictionary
                     •  Control Statements                           •  CSV Files
                     •  Understanding Libraries                      •  Introduction to NumPy
                     •  Introduction to Pandas                       •  Introduction to Scikit-learn
                     •  IBM Skill Build: Python for Data Science


                 Python is a versatile and dynamic programming language renowned for its simplicity, readability, and extensive range
                 of applications. It was created by Guido van Rossum and first released in 1991. Python got its name from a BBC comedy
                 series—“Monty Python’s Flying Circus”. Python has rapidly risen to prominence, becoming a staple in various domains
                 such as web development, data science, artificial intelligence, automation, and more. Its clear syntax and easy-to-learn
                 structure make it an ideal choice for beginners, while its powerful libraries and frameworks attract professional developers
                 worldwide. Whether making a web application, analysing complex data sets, or building machine learning models, Python
                 offers a robust and intuitive platform that empowers developers to bring their ideas to life efficiently and effectively.


                         Features of Python


                 Python is known for several key features that make it popular among developers. Some of the important features of
                 Python are as follows:

                  • •    Easy to read and write: Python’s syntax is designed to be simple and easy to understand, making it accessible to
                     beginners and experienced programmers. Its code is often referred to as “executable pseudocode.”
                  • •    Interpreted language: Python is an interpreted language, meaning that code is executed line by line, which allows
                     for easier debugging and prototyping.
                  • •    Dynamic typing: Python is a dynamically typed language. You don’t need to declare the type of a variable when
                     you create one. The type of variable is inferred at runtime.
                  • •    Extensive standard library: Python comes with a large standard library that provides a wide range of modules and
                     packages for tasks such as file I/O, networking, web development, and more, reducing the need to write code from
                     scratch.

                                                                                         Python Programming     163
   160   161   162   163   164   165   166   167   168   169   170