Want to keep learning?

This content is taken from the University of Michigan's online course, Programming for Everybody: Python Data Structures. Join the course to learn more.

Skip to 0 minutes and 1 second Python for Everybody Charles Severance, PhD. So welcome back to the second half of the programming. Getting started really. In this, we’re going to talk about data structures. Data structures are very important. In a way they’re more important for control flow because we can, the control flow it just sort of falls out. Once you know how to do it, it’s sort of like go here, turn left, do that. But the data structures are ways that you can make your programs much shorter. You can figure out the best way as your program is stepping through the things it’s going to do of representing your data.

Skip to 0 minutes and 36 seconds And it really shortens and simplifies it, and so the art of building data structures and solving a problem by cleverly. So these structures can be thought of like a picture on a board, of like this. So there are variables that you can put like more than one thing. Like a string can have more than one characters. Files can have more than one line. Lists can have multiple elements. Dictionaries can have multiple elements that we look up by a key, and so that’s what we’re going to learn about, like, you’re what’s a key? Well, that’s what we’re going to cover, like, key value pairs, some people call them property bags, associated arrays.

Skip to 1 minute and 14 seconds These are the things that make you really a programmer, not just to build it, to drive your little, little python around in a circle, but instead create, absorb some data, organize it in a way, sort it slightly, pull something out. So, this is where we’re actually doing data processing, and so these collections of strings, files, lists, dictionaries, and tuples, these are the tools that use to make variables far more worthwhile. So, good luck! I look forward to seeing you in the lectures.

Welcome - Dr. Chuck

Welcome to Python Data Structures, the second class in our Programming for Everybody series. We have built these classes specifically for those with no prior programming experience. With a relatively simple book, and basic exercises that focus on the core concepts of programming, we hope that you will have a solid understanding of the topics in this course and be well prepared to continue your programming studies.

We assume that you have completed the previous course in the sequence before starting this class. If you find yourself needing some review, please go back and review the material in Getting Started with Python.

Please take your time and learn these concepts well, as there is little value rushing towards more advanced material without proper preparation.


This course is taught by Dr. Charles Severance. Charles Severance (a.k.a Dr. Chuck) is a Clinical Professor at the University of Michigan School of Information, where he teaches various technology-oriented courses including programming, database design, and Web development. Chuck has written a number of books including Using Google App Engine, and Python for Everybody. His research field is in the building of learning management systems such as Sakai, Moodle, Blackboard, ANGEL, and others. He was the chief architect for the Sakai Project, a learning management system used at about 300 schools worldwide and wrote the book Sakai: Free as in Freedom, that describes his experiences as one of the leaders of the project. In the mid-1990s he was the host of Internet:TCI, a national television talk show about the Internet that ran for several years on the TCI cable system. He was long-time a columnist for the IEEE Computer Magazine writing a monthly column called “Computing Conversations” that features video interviews with famous technology leaders and innovators.


Would you like to take part in an optional learner background survey to improve the online educational offerings at the University of Michigan?

The University of Michigan is carrying out learner background survey research.

We’d like to invite all Learners on this course to take part in this optional pre-course survey. By taking part in this survey, you’ll support the University’s efforts to provide a quality online learning experience to a diverse population of participants. We may use the findings to evaluate the efficacy and impact of this educational content, as well as to identify opportunities to create new content.

The University of Michigan may share anonymous data collected during the survey with its platform partners, including Coursera, edX, and FutureLearn, with the goal of improving learning experiences and outcomes.

To take part in the learner background survey, please click the link below. If you choose to participate, you will be asked to provide personal information, including information about your gender, race, location country, employment status, and educational attainment. Your responses will be kept confidential, and the results from this survey will only be presented in aggregate form. It should take no longer than 10 minutes to complete.

Take part in the pre-course learner background survey.

Your responses will be linked to your course activity, but you will not be identifiable in any data that we publish or share. Summarised findings may be published in online and print publications and in University of Michigan promotional materials and may be included in presentations at professional development events, academic and professional conferences, and in various private settings. All the information collected during this survey, will be stored and handled according to the Center for Academic Innovation at the University of Michigan’s privacy policy.

The survey link will open in this same window for the purposes of making it accessible to screen readers and other assistive devices. You may need to manually navigate back to the course afterwards.

Thank you for helping to make the University of Michigan online courses better!

Please note that this is an independent research survey carried out by the University of Michigan and your participation is subject to the University’s own policies and terms. FutureLearn takes no responsibility for the contents or the consequences of your participation in this study. Your participation in the research has no effect on your course progress, marks or FutureLearn profile.

Share this video:

This video is from the free online course:

Programming for Everybody: Python Data Structures

University of Michigan