Python Variables and Lists


Welcome to Day Two!

Welcome to Day Two of the Earth Analytics Bootcamp! Today, 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, and you will also write Python code to plot data using the matplotlib package.

Learning Objectives

After completing the lessons for Day 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
  • Write Python code to plot data using the matplotlib package

Class Schedule

Topic
Review Day 1 / Questions
Lesson 1: Variables
Lesson 2: Lists
Lesson 3: Import Packages
Lesson 4: Plot Data With Matplotlib

Lessons Day 2

Today’s lessons provide the information and files that you need to continue homework 1. In the lessons, you will use Python in Jupyter Notebook to work with variables and lists.

Get Day 2 Files From Github.com

Fork and git clone today’s files from https://github.com/earthlab-education/ea-bootcamp-day-2 to the earth-analytics-bootcamp directory under your home directory.

If needed, refer to the lesson on Get Files from Github.com.

Continue Homework 1

View Homework 1

Important: Complete today’s lessons and hands-on activities (listed above) BEFORE continuing Homework 1.

The first homework (Homework 1) is due Friday, August 10th at 8:00 AM (U.S. Mountain Daylight Time) and will be completed incrementally each day, starting today through Thursday. See this link to convert the due date/time to your local time.

Updated: