• For Individuals
  • For Businesses
  • For Universities
  • For Governments
Coursera
Online Degrees
Careers
Log In
Join for Free
Coursera
University of Michigan
Python Data Structures
  • About
  • Outcomes
  • Modules
  • Recommendations
  • Testimonials
  • Reviews
  1. Browse
  2. Computer Science
  3. Software Development
University of Michigan

Python Data Structures

This course is part of Python for Everybody Specialization

Charles Russell Severance

Instructor: Charles Russell Severance

1,126,509 already enrolled

Included with Coursera Plus

•Learn more
7 modules
Gain insight into a topic and learn the fundamentals.
4.9

(96,878 reviews)

Beginner level
No prior experience required
Flexible schedule
2 weeks at 10 hours a week
Learn at your own pace
98%
Most learners liked this course

7 modules
Gain insight into a topic and learn the fundamentals.
4.9

(96,878 reviews)

Beginner level
No prior experience required
Flexible schedule
2 weeks at 10 hours a week
Learn at your own pace
98%
Most learners liked this course
  • About
  • Outcomes
  • Modules
  • Recommendations
  • Testimonials
  • Reviews

What you'll learn

  • Explain the principles of data structures & how they are used

  • Create programs that are able to read and write data from files

  • Store data as key/value pairs using Python dictionaries

  • Accomplish multi-step tasks like sorting or looping using tuples

Skills you'll gain

  • Programming Principles
  • File Management
  • Data Structures
  • Python Programming
  • Development Environment
  • Data Import/Export
  • Data Manipulation

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

5 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

Learn more about Coursera for Business
 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

Build your subject-matter expertise

This course is part of the Python for Everybody Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 7 modules in this course

This course will introduce the core data structures of the Python programming language. We will move past the basics of procedural programming and explore how we can use the Python built-in data structures such as lists, dictionaries, and tuples to perform increasingly complex data analysis. This course will cover Chapters 6-10 of the textbook “Python for Everybody”. This course covers Python 3.

In this class, we pick up where we left off in the previous class, starting in Chapter 6 of the textbook and covering Strings and moving into data structures. The second week of this class is dedicated to getting Python installed if you want to actually run the applications on your desktop or laptop. If you choose not to install Python, you can just skip to the third week and get a head start.

What's included

7 videos7 readings1 assignment1 app item

7 videos•Total 57 minutes
  • Video Welcome - Dr. Chuck•1 minute•Preview module
  • 6.1 - Strings•15 minutes
  • 6.2 - Manipulating Strings•17 minutes
  • Worked Exercise: 6.5•8 minutes
  • Bonus: Office Hours New York City•2 minutes
  • Bonus: Monash Museum of Computing History•7 minutes
  • Fun: The Textbook Authors Meet @PyCon•3 minutes
7 readings•Total 70 minutes
  • Reading: Welcome to Python Data Structures•10 minutes
  • Help Us Learn More About You!•10 minutes
  • Course Syllabus•10 minutes
  • Textbook•10 minutes
  • Submitting Assignments•10 minutes
  • Notice for Auditing Learners: Assignment Submission•10 minutes
  • Audio Versions of All Lectures•10 minutes
1 assignment•Total 30 minutes
  • Chapter 6 Quiz•30 minutes
1 app item•Total 60 minutes
  • Assignment 6.5•60 minutes

In this module you will set things up so you can write Python programs. We do not require installation of Python for this class. You can write and test Python programs in the browser using the "Python Code Playground" in this lesson. Please read the "Using Python in this Class" material for details.

What's included

5 videos2 readings1 peer review1 app item

5 videos•Total 26 minutes
  • Demonstration: Using the Python Playground•3 minutes•Preview module
  • Windows 10: Installing Python and Writing A Program•6 minutes
  • Windows: Taking Screen Shots•2 minutes
  • Macintosh: Using Python and Writing A Program•9 minutes
  • Macintosh: Taking Screen Shots•4 minutes
2 readings•Total 20 minutes
  • Important Reading: Using Python in this Class•10 minutes
  • Notes on Choice of Text Editor•10 minutes
1 peer review•Total 120 minutes
  • Optional- Installing Python Screen Shots•120 minutes
1 app item•Total 60 minutes
  • Python Code Playground•60 minutes

Up to now, we have been working with data that is read from the user or data in constants. But real programs process much larger amounts of data by reading and writing files on the secondary storage on your computer. In this chapter we start to write our first programs that read, scan, and process real data.

What's included

5 videos1 reading1 assignment2 app items

5 videos•Total 46 minutes
  • 7.1 - Files•8 minutes•Preview module
  • 7.2 - Processing Files•11 minutes
  • Demonstration: Worked Exercise 7.1•9 minutes
  • Bonus: Office Hours Barcelona•1 minute
  • Bonus: Gordon Bell - Building Blocks of Computing•15 minutes
1 reading•Total 10 minutes
  • Where is the 7.2 worked exercise?•10 minutes
1 assignment•Total 30 minutes
  • Chapter 7 Quiz•30 minutes
2 app items•Total 120 minutes
  • Assignment 7.1•60 minutes
  • Assignment 7.2•60 minutes

As we want to solve more complex problems in Python, we need more powerful variables. Up to now we have been using simple variables to store numbers or strings where we have a single value in a variable. Starting with lists we will store many values in a single variable using an indexing scheme to store, organize, and retrieve different values from within a single variable. We call these multi-valued variables "collections" or "data structures".

What's included

7 videos1 assignment2 app items

7 videos•Total 47 minutes
  • 8.1 - Lists•10 minutes•Preview module
  • 8.2 - Manipulating Lists•9 minutes
  • 8.3 - Lists and Strings•7 minutes
  • Fun: Python Lists in Paris•0 minutes
  • Worked Exercise: Lists•11 minutes
  • Bonus: Office Hours - Chicago•0 minutes
  • Bonus: Rasmus Lerdorf - Inventing the PHP Language•7 minutes
1 assignment•Total 30 minutes
  • Chapter 8 Quiz•30 minutes
2 app items•Total 120 minutes
  • Assignment 8.4•60 minutes
  • Assignment 8.5•60 minutes

The Python dictionary is one of its most powerful data structures. Instead of representing values in a linear list, dictionaries store data as key / value pairs. Using key / value pairs gives us a simple in-memory "database" in a single Python variable.

What's included

7 videos1 assignment1 app item

7 videos•Total 75 minutes
  • 9.1 - Dictionaries•9 minutes•Preview module
  • 9.2 - Counting with Dictionaries•8 minutes
  • 9.3 - Dictionaries and Files•13 minutes
  • Worked Exercise: Dictionaries•26 minutes
  • Bonus: Office Hours - Amsterdam•3 minutes
  • Bonus: Brendan Eich - Inventing Javascript•11 minutes
  • Fun: Dr. Chuck Goes Motocross Racing•2 minutes
1 assignment•Total 30 minutes
  • Chapter 9 Quiz•30 minutes
1 app item•Total 60 minutes
  • Assignment 9.4•60 minutes

Tuples are our third and final basic Python data structure. Tuples are a simple version of lists. We often use tuples in conjunction with dictionaries to accomplish multi-step tasks like sorting or looping through all of the data in a dictionary.

What's included

6 videos1 assignment1 app item

6 videos•Total 51 minutes
  • 10 - Tuples•17 minutes•Preview module
  • Worked Exercise: Tuples and Sorting•12 minutes
  • Bonus: Office Hours - Puebla, Mexico•1 minute
  • Bonus: John Resig - Inventing JQuery•10 minutes
  • Douglas Crockford: JavaScript Object Notation (JSON)•7 minutes
  • Fun: The Greatest Taco in the World•2 minutes
1 assignment•Total 30 minutes
  • Chapter 10 Quiz•30 minutes
1 app item•Total 60 minutes
  • Assignment 10.2•60 minutes

To celebrate your making it to the halfway point in our Python for Everybody Specialization, we welcome you to attend our online graduation ceremony. It is not very long, and it features a Commencement speaker and very short commencement speech.

What's included

2 videos2 readings

2 videos•Total 16 minutes
  • Graduation Ceremony•7 minutes•Preview module
  • Dr.Chuck Wrap Up/What's Next•8 minutes
2 readings•Total 20 minutes
  • Please Rate this Course on Class-Central•10 minutes
  • Post-Course Survey•10 minutes

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Instructor ratings

Instructor ratings

We asked all learners to give feedback on our instructors based on the quality of their teaching style.

4.9 (12,499 ratings)
Charles Russell Severance
Charles Russell Severance
University of Michigan
60 Courses•4,614,454 learners

Offered by

University of Michigan

Offered by

University of Michigan

The mission of the University of Michigan is to serve the people of Michigan and the world through preeminence in creating, communicating, preserving and applying knowledge, art, and academic values, and in developing leaders and citizens who will challenge the present and enrich the future.

Explore more from Software Development

  • C

    Coursera Project Network

    Python for Beginners: Data Structures

    Guided Project

  • Status: Free Trial
    Free Trial
    U

    University of Colorado Boulder

    BiteSize Python for Absolute Beginners: Data Structures

    Course

  • P

    Packt

    Data Structures Using Python - An Introduction

    Course

  • Status: Free Trial
    Free Trial
    U

    University of Pennsylvania

    Introduction to Python Programming

    Course

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Learner reviews

4.9

96,878 reviews

  • 5 stars

    87.65%

  • 4 stars

    11.16%

  • 3 stars

    0.91%

  • 2 stars

    0.13%

  • 1 star

    0.12%

Showing 3 of 96878

E
ES
5

Reviewed on Oct 22, 2015

Thank you Professor Severance,I enjoyed learning Python. Your approach to teaching: lecture, example, homework and hints to homework, combined to make taking your class a great learning experience.

A
AC
5

Reviewed on Jun 18, 2020

Great course for pyhton. Loved this course and enjoyed it. Thanks to Dr.Chuck. If anyone who want to take a course which is well explained and fun for python learning, then Hey!!! this is your course.

D
DA
5

Reviewed on Nov 9, 2017

I feel incredible that I knew almost nothing about programming just a month ago. Now I have done two of the courses of the specialization and I can actually understand other basic codes. Great course!

View more reviews
Coursera Plus

Open new doors with Coursera Plus

Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Learn more

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Explore degrees

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Learn more

Frequently asked questions

Access to lectures and assignments depends on your type of enrollment. If you take a course in audit mode, you will be able to see most course materials for free. To access graded assignments and to earn a Certificate, you will need to purchase the Certificate experience, during or after your audit. If you don't see the audit option:

  • The course may not offer an audit option. You can try a Free Trial instead, or apply for Financial Aid.

  • The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.

When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile. If you only want to read and view the course content, you can audit the course for free.

If you subscribed, you get a 7-day free trial during which you can cancel at no penalty. After that, we don’t give refunds, but you can cancel your subscription at any time. See our full refund policyOpens in a new tab.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

More questions

Visit the learner help center

Financial aid available,

Coursera Footer

Technical Skills

  • ChatGPT
  • Coding
  • Computer Science
  • Cybersecurity
  • DevOps
  • Ethical Hacking
  • Generative AI
  • Java Programming
  • Python
  • Web Development

Analytical Skills

  • Artificial Intelligence
  • Big Data
  • Business Analysis
  • Data Analytics
  • Data Science
  • Financial Modeling
  • Machine Learning
  • Microsoft Excel
  • Microsoft Power BI
  • SQL

Business Skills

  • Accounting
  • Digital Marketing
  • E-commerce
  • Finance
  • Google
  • Graphic Design
  • IBM
  • Marketing
  • Project Management
  • Social Media Marketing

Career Resources

  • Essential IT Certifications
  • High-Income Skills to Learn
  • How to Get a PMP Certification
  • How to Learn Artificial Intelligence
  • Popular Cybersecurity Certifications
  • Popular Data Analytics Certifications
  • What Does a Data Analyst Do?
  • Career Development Resources
  • Career Aptitude Test
  • Share your Coursera Learning Story

Coursera

  • About
  • What We Offer
  • Leadership
  • Careers
  • Catalog
  • Coursera Plus
  • Professional Certificates
  • MasterTrack® Certificates
  • Degrees
  • For Enterprise
  • For Government
  • For Campus
  • Become a Partner
  • Social Impact
  • Free Courses
  • ECTS Credit Recommendations

Community

  • Learners
  • Partners
  • Beta Testers
  • Blog
  • The Coursera Podcast
  • Tech Blog

More

  • Press
  • Investors
  • Terms
  • Privacy
  • Help
  • Accessibility
  • Contact
  • Articles
  • Directory
  • Affiliates
  • Modern Slavery Statement
  • Do Not Sell/Share
Learn Anywhere
Download on the App Store
Get it on Google Play
Logo of Certified B Corporation
© 2025 Coursera Inc. All rights reserved.
  • Coursera Facebook
  • Coursera Linkedin
  • Coursera Twitter
  • Coursera YouTube
  • Coursera Instagram
  • Coursera TikTok
Coursera

Welcome back

​
Your password is hidden
​

or

New to Coursera?


Having trouble logging in? Learner help center

This site is protected by reCAPTCHA Enterprise and the Google Privacy Policy and Terms of Service apply.