Object-oriented Programming (OOP) in Python (Easy to Understand Guide) #20

preview_player
Показать описание
Step by step video tutorials to learn Python for absolute beginners!

Object-oriented Programming is a programming paradigm based on the concept of creating classes and objects to solve a problem. In this video, we will learn about the fundamental concept of Object-Oriented Programming and how we can implement it in Python with the help of examples.

~

Watch our videos and revise them with our Python App!

Timestamps:
0:00 Intro
0:21 Object-Oriented Programming
2:24 Python Classes and Objects
8:38 The __init__() Method
13:20 Example: Add Two Complex Numbers
16:55 Why Object-Oriented Programming?
17:36 Programming Task

Find Programiz elsewhere:

#python #learnprogramming #programiz #pythonoop #objectoriented
Рекомендации по теме
Комментарии
Автор

🔥Finding it Damn Hard to Understand Python?
Learn to code—the right way—with interactive lessons, quizzes & challenges. Build a strong programming base; it's IMPORTANT!

programizstudios
Автор

class Triangle:
def __init__(self, a, b, c):
self.a = a
self.b = b
self.c = c

def perimeter(self):
p = [self.a, self.b, self.c]
h = sum(p)
return h

t1 = Triangle(3, 4, 5)

result = t1.perimeter()

print(result)

Wrennvy
Автор

In my Python class, it has been hard to understand what you might actually use a class for and how it would be applied. I assumed it had to do with organization but it was hard for me to come up with specific instances and my professor honestly hasn't demonstrated that for us. You made it obvious in two seconds and it will make doing my assignments easier going forward. Thank you for that.

stephelisabeth
Автор

the clearest and most well-explained video on classes on YouTube! Keep up the good work man!

ravi
Автор

I’ve watched Python tutorial videos from pretty much all content creators worth anything and this guy is by far the best overall at teaching concepts in a clear and understandable manner.

enzy
Автор

class triangle:
def __init__(self, a, b, c):
self.a = a
self.b = b
self.c = c

def add(self):
return self.a + self.b + self.c


tri1=triangle(3, 4, 5)
print(tri1.add())

tri2=triangle(7, 8, 9)
print(tri2.add())

tri3=triangle(2, 3, 6)
print(tri3.add())

mdiftekhar
Автор

I am a python beginner learner. I watched a bunch of videos on YouTube but couldn't understand the concept of OOP. This video is an absolute gem. Thank you sir, in just 18 mins every part covered in the video was crystal clear. God bless. 😊

del_f_s_
Автор

This is amazing! I watched quite a few tutorials on this topic before I found your video and none of them helped me understand the concept the way you did as a total beginner. Thank you!

serpentinefireball
Автор

Huge thanks to Programiz team! I can see you guys have devoted a lot of effort into this video. Your script is the most concrete, clearest and easiest to understand. The step by step guidance also lays out the logics clearly and allows beginners to succeed in the programming task later, which is rarely seen in other tutorials. You are great python teachers!

kawaiikina
Автор

hey i bought one course of a popular python instructor. couldn't understand that and came here. and got crystal clear man! this is incredible. and here, i was pulling my hair off as to where am i going wrong. Cheers.

abhishekghosh
Автор

Finally, a video that clearly explains classes. Thank you!

dots_
Автор

Oh The most concise explanation I have ever heard/ read. The only regret I had was that I couldn't discover your videos sooner.

peterchin
Автор

One of the best tutorials. I also like that you actually added a task at the end to check if we really understand

NaeemAhmed-swjc
Автор

I was reading the Python official tutorial, which is great. But this video made it SO MUCH clearer! Thank you for the lesson. Keep up the good work.

samiicosta
Автор

A true master. I have watched your video many times. It is an extremely clear and concise way to teach OOP. Thank you!

Buckybarnesfan
Автор

You are doing such a great work by helping us in learning python and with such an ease. Keep it up and wish you a great success!!!

HamzaAli-iyws
Автор

The Blueprint-House analog helped me. Your teaching employs common-sense. Common-sense isn't very common. This is the best Class/Object video on the net.
Thank you for taking the time to make this video!

forrestt
Автор

I just love your way of teaching..it makes everything clear to me.

sumanhere
Автор

I've spent at least 3 days to figure out what the hell are "classes and object" in Python.Wow God blessed me found your video.That's very clear now I totally understand them.Thank you so much ! You got my like button and share

Huyautomation
Автор

Learning Python is something you would like to get in your skills, but you do not know where to start? This NEW channel will help you out leaning Python Programming from scratch - for complete Beginners, Intermediate and Advanced Levels

DigitalAcademyOnline