Page 192 - Ai Book - 10
P. 192

u   Built-in Libraries: Python is a very expressive language and is the first choice of programmers due to its built-
                in modules and packages that reduces development time and effort to design code for Artificial Intelligence.

             u   Availability of Data Analysis Tools: Python has several standard libraries such as Matplotlib that helps data
                scientists to visualize data in the form of graphs, charts, histograms etc. which is necessary to generate data
                analysis reports with visual effects.

            Applications of Python

            The important applications of Python programming language are as follows:
            Web Development

            Web development is the field of writing computer applications to create interactive websites, usually using
            Hypertext Markup Language (HTML) and a web browser. The Python programming language is used to create
            web applications, but the language is commonly used for many types of programs. The Python application
            framework is also widely used to create programs in other languages.
            Machine Learning and AI

            Python is built-in high-level data structures and data science libraries that allows to develop applications for
            various purposes, including scientific and engineering software, games, software frameworks, Internet services,
            and many more. Python has found its way into the world of machine learning and artificial intelligence software.
            For example, Product Recommendation engine of ecommerce websites are completely based on Python.
            Data Analysis

            Python has a unique feature and easy-to-use when it comes to quantitative and analytical computing. The Python
            libraries are widely used for data manipulation and very easy to learn for a beginner data scientist.
            Desktop GUI

            Python is a programming language that is most suitable for writing applications/scripts which need to run on
            a desktop GUI (Graphical User Interface). It offers a graphical user interface such as windows, buttons, etc. In
            addition, the language offers many ready-to-use functions and modules for drawing lines, graphics, and data
            visualization.


                 Pop
                 Pop Quiz                                     Quiz
              Write any three features of Python.

              1. ____________________________________________________________________________________________
              2. ____________________________________________________________________________________________

              3. ____________________________________________________________________________________________

            PYTHON BASICS

            In the previous class, we have learnt about Python. Let’s recall the basics of Python using Jupyter Notebook.

            Print() function

            The print() function of Python is a way to print the specified message, string or any other object to the screen.
            This function prints a blank line if value or an expression is not mentioned.

            The syntax for the print() is:

                      print(“statement”)
                66
                66
   187   188   189   190   191   192   193   194   195   196   197