Week 1:

Tuesday, 1/22
Lecture: Course introduction; why do life science researchers should care about programming? Our first program and some programming errors [ slides ]
Reading: Chapter 1 in How to think like a computer scientist.

Thursday, 1/24
Lecture: Some basic linux; Python types, variables
Reading: Chapter 2 in the book.

Week 2:

Tuesday, 1/29
Lecture: Python expressions using expressions: celsius to fahrenheit conversion; introduction to functions [ slides ] some code: draw_rectangle, c2f conversion with functions, using functions.
Reading: Chapter 3 in the book.

Thursday, 1/31
Lecture: Functions: LocalVariables; putting logic into a program: Boolean expressions and conditionals .
Reading: Chapter 4 in the book.

Week 3:

Tuesday, 2/5
Lecture: More conditionals: sort names, letter grade calculator, a better version of letter grade.
Functions that return a value. Examples: area, divisibility, absolute value.
Reading: Chapter 4 and Chapter 5 in the book.

Thursday, 2/7
Lecture: Iteration in Python: while loops.
Reading: Chapter 6 in the book.
Lab: Lab3

Week 4:

Tuesday, 2/12
Lecture: More on while loops: input validation; iteration using for loops, tables, strings
Reading: Chapter 7 in the book.

Thursday, 2/14
Lecture: strings continued
Reading: Chapter 7 in the book.
Lab: Lab4

Week 5:

Tuesday, 2/19
Lecture: Strings, continued. String formatting
Reading: Chapter 7 in the book.

Thursday, 2/21
Lecture: Python lists
Reading: Chapter 9 in the book.
Lab: Lab5

Week 6:

Tuesday, 2/26
Lecture: Lists are mutable (code), lists as function parameters (code), nested lists (code).
Reading: Chapter 9 in the book.

Thursday, 2/28
Lecture: Reading from a file
Lab: Lab 6