Jupyter Notebook


Basic functions

  • When a cell is selected, it turns green
  • If a cell is not selected, the kex 'm' converts the cell to 'Markdown' format, which formats the cell content as text.
  • If a cell is not selected, the key 'a' creates a new cell above.
  • If a cell is not selected, the key 'b' creates a new cell below.
  • If a cell is not selected, the key 'x' deletes the cell.

Markdown format

  • the # character at the beginning of a line, converts it into a heading
  • the characters ** format a text bold
  • the * character formats a text in italics

Executing a cell

  • The combination CTRL + Enter executes a cell.
In [1]:
print("Hello World!") 
Hello World!

Order of execution

  • The order of the lines can be varied depending on which cell is executed first.
In [3]:
print("Hello World!") 
Hello World!
In [4]:
print("Hello World!") 
Hello World!
In [2]:
print("Hello World!") 
Hello World!


Von |2020-10-05T18:21:55+02:00Oktober 5th, 2020|Learn Python|0 Kommentare

Hinterlasse einen Kommentar

Nach oben