Python 3.8 Object Oriented Programming | Homework + Answers
4.1 (18 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
5,337 students enrolled

Python 3.8 Object Oriented Programming | Homework + Answers

Learn object oriented programming concept in Python 3.8. The course contains a lot of examples.
4.1 (18 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
5,337 students enrolled
Created by Szymon Wolny
Last updated 2/2020
English
English [Auto]
Current price: $83.99 Original price: $119.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 2.5 hours on-demand video
  • 8 articles
  • 5 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Assignments
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Learn four concepts of object oriented programming
  • Understand why it is worth to use object oriented programming
  • Understand the difference between an object and a class
  • Learn about attributes and methods
  • Understand self and __init__ method
  • Private attributes in Python
  • Getter, setter and @property decorator in Python
  • Inheritance - base classes and derived classes
  • Multiple inheritance and MRO
  • super() function
  • Special / Dunder methods - __len__ __repr__ __str__ __add__ __lt__ and others
  • Understand the difference between self and cls
  • @classmethod @staticmethod
  • Polymorphism - duck typing and interface
  • Coding Tips & Tricks
  • A lot of interesting examples!
  • Exercises with sample solutions
  • 10 Python interview questions & answers about object oriented programming
  • Write better and cleaner code
Course content
Expand all 44 lectures 02:35:03
+ Basic information about classes and objects
8 lectures 24:18
What is a class and an object?
03:53
Instance attributes
02:51
__init__ method
02:32
Class attributes
02:46
Example
05:09
Assignment
00:00
My solution
05:23
+ Encapsulation - getters, setters and @property
6 lectures 19:51
What is encapsulation?
03:22
Getters and @property
03:44
Setters
03:42
Private attributes in Python
00:58
Assignment
00:00
My solution
08:05
+ Inheritance
8 lectures 30:51
Base and derived classes
05:51
super() function
03:11
Method overriding
01:41
Example
06:14
Assignment
00:00
My solution
08:32
Multiple inheritance
00:58
MRO
04:24
+ Special / magic methods in Python
6 lectures 28:29
What are special / magic methods?
01:45
__str__ vs __repr__
07:09
Methods responsible for arithmetic operations
08:09
Assignment
00:00
My solution
08:08
+ Instance, class, and static methods in Python
8 lectures 24:40
@classmethod
05:47
Alternative constructor in Python
03:38
@staticmethod
01:25
Assignment
00:00
My solution
06:37
Assignment
00:00
My solution
05:04
+ Polymorphism in Python
5 lectures 22:57
What is polymorphism?
02:43
Duck typing
04:18
Interfaces in Python
06:40
Assignment
00:00
My solution
09:16
+ OOP interview questions
0 lectures 00:00
10 interview questions about object oriented programming that may appear during the recruitment process for the Junior Developer position.
Interview
10 questions
Requirements
  • Basic knowledge of programming (variables, loops, if statements, functions)
  • Installed Python 3.8 version or higher
  • Installed any IDE (PyCharm, Visual Studio Code)
Description

In the course I am explaining in details basic concepts about object oriented programming. I am showing how can you use those concepts in Python. Python, in comparison to other programming languages ​​(Java, C #) has its own way of presenting certain object oriented programming concepts, which can be unusual for people who do not used Python before.

Knowledge of object oriented programming is necessary when applying for Junior Developer job. Therefore, at the end of the course I have prepared10 interview questions that might appear during the recruitment process. Each question has an example answer.

In each chapter I am explaining the theory of a given topic with an example of implementation in Python. In addition, at the end of each chapter I have prepared a homework to test your knowledge.

Course content:

  1. Basic information about classes and objects

  2. Encapsulation - getters, setters and @property

  3. Inheritance

  4. Special / magic methods in Python

  5. Instance, class, and static methods in Python

  6. Polymorphism in Python


If you would like to learn how object oriented programming is used in Python, I think I can help you :)

Who this course is for:
  • People who would like to learn object oriented programming concept
  • People who have basic knowledge of Python and would like to improve their programming skills
  • People who know a different programming language like Java or C# and would like to learn object oriented programming in Python