From the course: Get Ready for Your Coding Interview

Unlock the full course today

Join today to access over 23,100 courses taught by industry experts.

Using Jupyter Notebook

Using Jupyter Notebook

- [Speaker] I'm looking at the notebook that we just created on my browser. For the sake of readability, I'm going to scale up my browser view a little bit. Just like a regular Python Interpreter, I can type in my code here, and run it right away. In this cell, I'm looking at at the top let's type in a = 1. And this of course, initializes a variable called a to 1. I'm going to run this cell by clicking the play button at the top. And I can print this value by writing print {a}. I'm going to run this cell by clicking the play button again. And, you should be able to see the number 1 right here. Let's try printing "hello world" by writing print {"hello world"} To run this cell, instead of clicking the play button again, I'm going to use a keyboard shortcut: shift + enter. To see other keyboard shortcuts, you can click help, and click keyboard shortcuts. Let's dismiss this window. And to delete cells, you can click the…

Contents