Page 186 - Ai Book - 10
P. 186

A new notebook will be open.















            Saving a File

            It is always a good practice to save your program (code). To save a file with click on the text ‘Untitled’. The
            Rename Notebook pop-up will open. Enter a new name. The Notebook will be saved as a file of the name that
            you have kept along with the extension ‘ipynb.’
















            Working with the Notebook
            The Notebook window displays a blank space or a cell where you can write Python codes. Once a new notebook
            is created, the first cell is available empty for you to write your codes.











                                                                                                         Cell to write code


            Type the lines of codes and execute it using ‘Shift+Enter’ keys or clicking the ‘Run’ button. The output becomes
            visible underneath the cell as shown.









                                                                                                        Run Button










                60
                60
   181   182   183   184   185   186   187   188   189   190   191