Throughout this course, you're going to see me taking some
notes, and I'll leave little titles and stuff in here.
And in the final notebooks, you're going to see a lot more
organized code. And you can do the same thing that I do.
So when you're in a cell like this, all you have to do is
come up here and switch it from 'Code' to 'Markdown', or even a 'Heading',
and in this case Jupyter is saying, "Jupyter no longer uses special
heading cells. Instead, you use Markdown.
Now if you're familiar with Git at all, or GitHub, 'README' files
are 'Markdown' files,
and in a 'Markdown' file you can have headers,
you can have smaller headers, and you can actually see that
this is getting smaller every time I add or remove one of
these, and so 'Markdown' is very commonplace.
And if you want to take really nice notes, you can Google
'Markdown', and it's a very simple language.
So one number sign when your cell is marked as 'Markdown'
will be a large title.
And then you can make a new line in here.
And if you want to write some of your own code, but it should
display as code and not actually activate as Python, you
can use three back ticks, and then three back ticks at the
end, and in here you could say 'print("Some code")', and
'var =', I don't know, "Python".
And then all you have to do is execute this cell.
So if you run this cell, this is now formatted like code.
You can always double click in there as well.
And if you want to, you could put some "Lorem Ipsum" in here,
and let's say you're talking about some code,
you can do inline code, and you just use one back tick and
another back tick there,
and let's do one here and one here.
And this, once we run this out, will actually look like
it has code formatting.
[no audio]
And so in here we could write some Python script like 'print(
"Welcome to Python for Everybody")'.
And we can have this code actually execute.
Now, this cell is a 'Code' cell.
And below it, we can have some notes if we wanted to.
Now, if you see any of my code and you want to write some
of your own notes, you can always just click on this cell
and go to 'Cell',
not 'Cell', actually I meant 'Insert'.
You can go to 'Insert Cell Above' or 'Below'.
So let's go ahead and add a cell below,
and let's change that style to a 'Markdown'.
And in here we can write a note.
"This is how we write a print statement in python".
And then we could say, "ie `print("Hello")`.
[no audio]
And that actually didn't break on to two lines because 'Markdown'
doesn't care for a single line.
So you'll have to write two lines.
But as soon as you execute that cell, it will put it on a
new line for you, just like that.
[no audio]
Last but not least, you can also add links as well as pull quotes.
So 'print("This is going to be a link
(see below)")'.
So that's some code.
And let's go ahead and change this one to 'Markdown'.
And we could say 'pythonforeverybody.com', or let's just
really prove that this is going to be a proper link '[dot] com'.
So that's hard brackets.
That's going to be your text.
And then in soft brackets, in parentheses, you could put
'(https://pythonforeverybody.com)'.
And as soon as you run that cell, this becomes a link,
I can actually click it, open it in a new tab, and it has
my text in there. So that's a link.
We can also do pull quotes. "Pull quotes!".
And let's go ahead and change this back down to 'Markdown'.
And a pull quote starts with a greater than symbol in 'Markdown',
not in Python, but in 'Markdown'.
I can put some 'Lorem Ipsum' text in there,
just 50 words of 'Lorem Ipsum'.
Hit 'Enter'. And this looks like a pull quote.
It's got a nice little border there.
So as you progress through this course and you were looking
through the interactive notebooks, don't forget that
you can always go ahead,
you can insert your own cells,
you can delete the cells that I have,
you can modify it, and really make it your own.
You can add all sorts of notes as well,
and they don't have to be formatted nicely.
They can be in whatever format you like.
And that is how we take notes beside interactive Python.