Session 6 - (2/6)

Icebreaker question¶
- What is something you enjoy doing when you are not writing python programs?
Learning objectives¶
In this session we will learn about more advanced data structures and control flow mechanisms. By the end of this session you will be more familiar with the following topics:
- Dictionaries for storing and retrieving key/value pairs
- Conditional branching with if/else statements
- Defining functions to perform specific tasks
Review and Discussion¶
- Continue w/ Project planning discussion for folks who didn't get to go on Tuesday: What are the inputs and outputs of the project you have in mind? What data is available and what is the 'answer' you want to get out of your tool?
- Review homework assignments in small groups (2-3 people)
- For reference, here are our solutions to Session 5 challenges
- Link to Lecture 6 slides: Python dictionaries, conditional statements (if/else), and intro to function definitions
In class exercises¶
- In-class microproject: The Wright-Fisher model
Assignments¶
-
Python tutorial readings:
-
Problem sets covering python dictionaries, conditionals, and functions
- Supplementary Reading and additional practice problems:
