Python Object Basics: Functions, Recursion, and Objects
Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
Python Object Basics: Functions, Recursion, and Objects
This course is part of Programming in Python: A Hands-on Introduction Specialization
Instructors: Patrick Ester
7,972 already enrolled
Included with
Learn more
Ask Coursera
66 reviews
Recommended experience
66 reviews
Recommended experience
What you'll learn
Define and use custom functions to improve code readability
When and how to use recursion instead of iteration
Create and modify custom objects
Skills you'll gain
Tools you'll learn
Details to know
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
There are 4 modules in this course
Code and run your first python program in minutes without installing anything!
This course is designed for learners with limited coding experience, providing a solid foundation of not just python, but core Computer Science topics that can be transferred to other languages. The modules in this course cover functions, recursion, objects, and mutability. Completion of the prior 2 courses in this specialization are recommended. To allow for a truly hands-on, self-paced learning experience, this course is video-free. Assignments contain short explanations with images and runnable code examples with suggested edits to explore code examples further, building a deeper understanding by doing. You'll benefit from instant feedback from a variety of assessment items along the way, gently progressing from quick understanding checks (multiple choice, fill in the blank, and un-scrambling code blocks) to small, approachable coding exercises that take minutes instead of hours.
Welcome to Week 1 of the Python Object Basics: Functions, Recursion, and Objects course. These assignments cover re-using pieces of code by wrapping them in functions. You can create functions that take in and/or return data. The module ends with a lab and graded coding exercises.
What's included
8 readings7 app items
8 readingsβ’Total 16 minutes
- Navigating Codio Assignmentsβ’5 minutes
- Function Basics Lesson Notes (Optional Download)β’1 minute
- Parameters Lesson Notes (Optional Download)β’1 minute
- Variable Scope Lesson Notes (Optional Download)β’1 minute
- Returning Values Lesson Notes (Optional Download)β’1 minute
- Advanced Function Concepts Lesson Notes (Optional Download)β’1 minute
- Functions Lab (Review and Practice) Lesson Notes (Optional Download)β’1 minute
- How to Reset an Assignment in Codioβ’5 minutes
7 app itemsβ’Total 240 minutes
- Codio: Functions Coding Exercisesβ’45 minutes
- Codio: Function Basicsβ’30 minutes
- Codio: Parametersβ’30 minutes
- Codio: Variable Scopeβ’30 minutes
- Codio: Returning Valuesβ’30 minutes
- Codio: Advanced Function Conceptsβ’30 minutes
- Codio: Functions Labβ’45 minutes
Welcome to Week 2 of the Python Object Basics: Functions, Recursion, and Objects course. These assignments cover creating recursive functions and identifying when recursion can be used instead of traditional iteration. The module ends with a lab and graded coding exercises.
What's included
2 readings3 app items
2 readingsβ’Total 2 minutes
- What is Recursion? Lesson Notes (Optional Download)β’1 minute
- Recursion Lab (Review and Practice) Lesson Notes (Optional Download)β’1 minute
3 app itemsβ’Total 120 minutes
- Codio: Recursion Coding Exercisesβ’45 minutes
- Codio: What is Recursion?β’30 minutes
- Codio: Recursion Labβ’45 minutes
Welcome to Week 3 of the Python Object Basics: Functions, Recursion, and Objects course. These assignments cover creating user-defined classes and how to instantiate an object based on these classes. The module ends with a lab and graded coding exercises.
What's included
2 readings3 app items
2 readingsβ’Total 2 minutes
- Classes and Objects Lesson Notes (Optional Download)β’1 minute
- Intro to Objects Lab (Review and Practice) Lesson Notes (Optional Download)β’1 minute
3 app itemsβ’Total 120 minutes
- Codio: Intro to Objects Coding Exercisesβ’45 minutes
- Codio: Classes and Objectsβ’30 minutes
- Codio: Intro to Objects Labβ’45 minutes
Welcome to Week 4 of the Python Object Basics: Functions, Recursion, and Objects course. These assignments cover changing attributes associated with an object through methods. The module ends with a lab and graded coding exercises.
What's included
4 readings5 app items
4 readingsβ’Total 4 minutes
- Changing Objects with Functions Lesson Notes (Optional Download)β’1 minute
- Changing Objects with Methods Lesson Notes (Optional Download)β’1 minute
- Class and Static Methods Lesson Notes (Optional Download)β’1 minute
- Mutability Lab (Review and Practice) Lesson Notes (Optional Download)β’1 minute
5 app itemsβ’Total 180 minutes
- Codio: Mutability Coding Exercisesβ’45 minutes
- Codio: Changing Objects with Functionsβ’30 minutes
- Codio: Changing Objects with Methodsβ’30 minutes
- Codio: Class and Static Methodsβ’30 minutes
- Codio: Mutability Labβ’45 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.
Instructors
Offered by
Explore more from Software Development
- Status: Free Trial
- Status: Free Trial
- Status: Free Trial
- Status: Free Trial
Why people choose Coursera for their career
Learner reviews
- 5 stars
63.63%
- 4 stars
27.27%
- 3 stars
3.03%
- 2 stars
4.54%
- 1 star
1.51%
Showing 3 of 66
Reviewed on Oct 13, 2025
The best beginner's Python course I have ever taken.
Frequently asked questions
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. 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.
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
Financial aid available,
