Introduction to Python Variables and Lists: Earth Data Science Bootcamp Course Week 2


Welcome to Week 2!

Welcome to Week 2 of the Earth Analytics Bootcamp course! This week, you will learn about Python variables (which store single data values) and lists (which can store many data values). Specifically, you will write Python code to create and manipulate variables and lists. You will also write Python code to plot data using the matplotlib package.

Learning Objectives

After completing the lessons for Week 2, you will be able to:

  • Define a variable and explain how variables are used in Python
  • Write Python code to create variables and run arithmetic calculations on them
  • Write Python code to create and edit lists

Homework Assignment

The assignment for this week can be downloaded on Canvas. We will be adding it to a public repository in the near future for all to use!

Earth Data Science Textbook Readings

Please read the following chapters to support completing this week’s assignment:

Example Homework Plots

The plots below are examples of what your plot could look like. Feel free to customize or modify plot settings as you see fit!

Homework plot 1 showing average monthly temperature in Boulder, Colorado.
Homework plot 1 showing average monthly temperature in Boulder, Colorado.