This course introduces classes, instances, and inheritance. You will learn how to use classes to represent data in concise and natural ways. You'll also learn how to override built-in methods and how to create "inherited" classes that reuse functionality. You'll also learn about how to design classes. Finally, you will be introduced to the good programming habit of writing automated tests for their own code.



Python Classes and Inheritance
This course is part of Python 3 Programming Specialization


Instructors: Steve Oney
Access provided by New York State Department of Labor
119,022 already enrolled
(3,657 reviews)
What you'll learn
Explore classes, instances, and inheritance to represent data efficiently.
Gain insights into class design and cultivate the practice of writing automated tests for your code.
Learn to override built-in methods and create inherited classes that reuse functionality.
Skills you'll gain
Details to know

Add to your LinkedIn profile
2 assignments
See how employees at top companies are mastering in-demand skills

Build your subject-matter expertise
- 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


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

There are 4 modules in this course
An introduction to the course
What's included
5 videos2 readings1 ungraded lab
In this module, lectures and activities from the Runestone textbook will cover more complex data structures. By the end of this week, you will have learned how to process json formatted data, traverse nested data using nested iteration, and extract values from nested data.
What's included
17 videos1 assignment1 programming assignment15 app items1 ungraded lab
What's included
12 videos1 assignment1 programming assignment9 app items1 ungraded lab
What's included
17 videos2 readings3 programming assignments4 app items1 ungraded lab
Instructors

Offered by
Why people choose Coursera for their career




Learner reviews
3,657 reviews
- 5 stars
76.96%
- 4 stars
18.96%
- 3 stars
2.86%
- 2 stars
0.79%
- 1 star
0.40%
Showing 3 of 3657
Reviewed on Oct 27, 2019
Good continuation of the first three courses in this specialization. Clear introduction to classes, and nice survey of testing, exceptions, with a fun little game project at the end.
Reviewed on Oct 20, 2022
yeah! this course is so awesome it is easy to understand .thanks to professors in university of michigan who teach execllent course. I hope upcoming courses will be good.
Reviewed on Aug 13, 2020
Great course! A month ago I still knew nothing about programming. Now I can try to understand and write codes for a mini game, which is super cool. Many thanks to the teachers and Coursera.
Recommended if you're interested in Computer Science
Rice University
University of Michigan

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
Advance your career with an online degree
Earn a degree from world-class universities - 100% online
Join over 3,400 global companies that choose Coursera for Business
Upskill your employees to excel in the digital economy