Page 238 - AI Computer 10
P. 238

A new notebook will be opened.















            Saving a File

            It is always a good practice to save your program (code). To save a file, click on the text ‘Untitled’. The Rename
            Notebook pop-up opens. Enter a new name. The Notebook will be saved as a file of the name that you have
            typed 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











                104
                104
   233   234   235   236   237   238   239   240   241   242   243