Week 2: February 6 - 10

We continue our introduction to Python, and begin to create graphs in Jupyter Notebook.

Week 2 Notebook

Jupyter Notebook

  • IPython “magics”: %matplotlib inline
  • Markdown cells
  • LaTeX

Python

  • Lists
  • append
  • for loops
  • range
  • len

Matplotlib

  • plot
  • figure
  • Labeling plots - title, xlabel, ylabel
  • text

Weekly Reports

  • Report structure
  • Submitting reports on UBlearns

Quiz 1: Mathematical and Boolean Expressions

  • Mathematical operations
  • Variable assignment
  • print function
  • Boolean expressions

Sample Quiz 1