temperature = 25

print(temperature)

"""
Explanation: <div style="width:1000 px">

<div style="float:right; width:98 px; height:98px;">
<img src="https://raw.githubusercontent.com/Unidata/MetPy/master/metpy/plots/_static/unidata_150x150.png" alt="Unidata Logo" style="height: 98px;">
</div>

<h1>Jupyter Notebooks Introduction</h1>
<h3>Unidata Python Workshop</h3>

<div style="clear:both"></div>
</div>

<hr style="height:2px;">

Jupyter notebooks are a great way to have code, output, images, video, and other information in one place. Notebooks are an ideal tool for the student, research scientist, and even software developer. In this lesson we will go over the basic features of Jupyter notebooks and how to use them.
Getting Started
Before you can explore Jupyter notebooks, you need to get them up and running! On the command line, type jupyter lab and press Enter. This will start up a jupyter lab server and open your default browser connected to this server. On the main page you'll see a file explorer interface. Notice that you cannot go any further up the directory structure that where you started the server. For security reasons, you should run out of a sane sub-directory, not from your home directory. Clicking on a part of the path at the top of the page will change the working directory to that location.
The tabs at the top of the interface File, Running, and Clusters allow you to see the file explorer, state of running notebooks, and parallel execution information. In the File tab you can navigate to find notebooks and click to launch them or create new ones. Click on the New button to create a new item. New items can be:
* Notebook - Create a new notebook
* Text File - Opens a built-in editor to create text based files
* Folder - Create a new directory
* Terminal - Open an instance of your default terminal
Notebook Components
Notebooks consist of cells that contain information of various forms. New cells can be created easily by pressing a for above for b for below the current cell when in command mode.

Active cells have an outline around them
You can navigate with the mouse or arrow keys
The cell type is shown in the dropdown menu at the top of the notebook.
Think of cells as paragraphs in an essay - they contain a complete set of ideas. Splitting your notebook into properly sized cells is really an art and matter of personal preference.

Using Notebooks
Notebooks provide an easy-to-use interface to make some potenitally complicated documents. Notebooks operate in one of two modes:
* Edit Mode - Press Enter in a cell to enter edit mode.
* Command Mode - Press ESC or Ctrl-m to enter command mode. The notebook will accept keyboard commands.
Notebook Menus
At the top of the notebook window you will find menus containing many useful functions.
* File - Save, copy, export notebooks
* Edit - Move, split, cut, copy, and insert
* View - Modify the notebook's appearance
* Run - Run cells
* Kernel - Interrupt, restart, or change the active kernel
* Tabs - Control jupyter lab tabs
* Help - Access documentation and helpful information
There are lots of keyboard commands so you never have to use a mouse, but for the workshop the Shift-Enter shortcut is probably the most useful. It runs the current cell and advances to the next cell. Ctrl-Enter will run the current cell without advancing. Shortcuts for split, merge, and delete are also very useful. Don't do these operations by hand - let the computer do the work!
Notebook Toolbar
Below the menus at the top of the notebook is a toolbar. It contains buttons to allow you to save, copy, move, etc. as well as run cells and change cell type. Generally you'll be using keyboard shortcuts, but these buttons are available. If you decide to not use the toolbar, it can be hidden in the View menu, as can the left file view panel.
Cells
Notebooks have cells that can be one of three types. Using a mix of cell types can result in a really nice looking and useful document. We'll cover the two you'll be most likely to use: code and markdown cells.
Code
Code cells contain.... well... code. While most commonly associated with Python, Jupyter notebooks can run many kernels including R, Ruby, Julia, and many more. Each notebook can only use a single kernel though. Let's run some simple code in this notebook. Remember, run the cell via the keyboard (Shift-Enter) or by pressing the <button class='btn btn-default btn-xs'><i class="icon-step-forward fa fa-step-forward"></i></button> button.
End of explanation
"""


import sys
print('I\'m afraid I\'ve made a horrible mistake', file=sys.stderr)

"""
Explanation: Notice that the standard output is displayed right below the cell that generated it. The system standard error is also displayed below cells.
End of explanation
"""


import time 

for i in range(10, 0, -1):
    print(i)
    time.sleep(1)
print("Blast off!")

"""
Explanation: The output of the cell appears as it is generated - you can see what's happening as the process is running. The cell below will countdown from 10. If this were a long process that you wanted to interrupt, you could press the <button class='btn btn-default btn-xs'><i class='icon-stop fa fa-stop'></i></button> button. Try it!
End of explanation
"""


import numpy as np
np.arange?

"""
Explanation: Help on functions can be obtained by putting a ? afterwards:
End of explanation
"""


