We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5
LAB ASSIGNMENT-1
QUESTION-1: Learning the installation of Jupyter Notebook IDE on
your system. Step 1: Install Anaconda in your PC. Step 2: Open Anaconda Navigator. Step 3: Click on “launch” in the Jupyter Notebook Box.
QUESTION 2: Perform the following on Jupyter Notebook IDE.
1. Creating a notebook Step 4: Next, create a New Folder by clicking on “New”. Step 5: Click on “New Folder”.
A new untitled folder will be created.
2.Naming Step 6: Click on “Untitled” and rename the file.
Step 7: Open this folder and click on “New”.
Step 8: Click on “New File”.
Now a new notebook/file is created for you to work on. 3.Running Cells Click on the first cell that is visible. A cursor will appear. Write a line of code and Click on “Run” or press Shift + Enter.
Output will be displayed in the same window itself.
4The Menus In Jupyter Notebook, there are mainly 4 main menus. 1.File- allows you to create, open and save notebooks 2.View-allows you to customise the layout and appearance of your notebook. 3.Kernel- allows you to set kernel specific options 4.Help- allows access to documentation, tutorials and other resources. 5.Starting Terminals and Other things Click on “New” Then click on “Terminal” Other things in that Dropdown Menu include (i) “Python [conda envbase]” which is used to create a interactive python notebook (ii) The other is “Console” which is the engine that runs your code and provides the output. 5.Viewing What’s running
It shows the current status of Jupyter Notebook Kernel.
6.Cell Types (i) Code Cell: This type of Cell is used to write and execute code in a variety of programming languages (ii) Markdown Cell: This type of cell is used to create formatted text using Markdown Syntax (iii) Raw Cell: This type of cell is used to write raw, unformatted text that will appear as it is written. 7.Styling Your Text Bold: **Bold text** Italics: *Italic Text* Strikethrough: ~~Strikethrough Text~~ Underline:<u>Underline text</u> 8.Headers Heading 1: # Heading 1 Heading 2: ## Heading 2 Heading 3: ### Heading 3
Python Programming: 8 Simple Steps to Learn Python Programming Language in 24 hours! Practical Python Programming for Beginners, Python Commands and Python Language