Page 227 - Ai_V1.0_Class9
P. 227

Step 5   Click on the  File  →  Save  option  from  the
                            menu bar. The Save As dialog box appears.

                   Step 6   Navigate the location where you want to
                            save the file and enter the name of the file in
                            the File name text box.

                   Step 7   Click on the Save button.

                 The file will be saved by the given name at the specified
                 location.

                 Follow these steps to run a Python program:
                   Step 1   Click on Run in the Menu bar.
                   Step 2   Click on the Run Module option. OR Press
                            F5 Function key.                                                Saving a File














                                                       Selecting the Run Module option
                 The program will execute and the output will be shown in the Shell window.














                                                            Displaying the Result



                                 Task                                             #Experiential Learning



                     Colab—a free Jupyter notebook environment that runs entirely in the cloud allows you
                     to write and execute Python code. Type http://colab.research.google.com to create your
                     online Python notebooks which can be simultaneously edited by the members with whom
                     you have shared your code in Colab. This process is similar to the way you edit documents
                     in Google Docs, Google Sheets or Google Slides.




                         Python Character Set

                 A character set can be a set of valid characters. For example,

                    • Digits like 0, 1, 2, …. 9

                                                                                        Introduction to Python  225
   222   223   224   225   226   227   228   229   230   231   232