Python Object Oriented Programming in 10 minutes 🐍

preview_player
Показать описание
python object oriented programming OOP tutorial example explained

#python #objects #OOP

#------------------------------------------------------------------
from car import Car

car_1 = Car("Chevy","Corvette",2021,"blue")
car_2 = Car("Ford","Mustang",2022,"red")

#------------------------------------------------------------------
class Car:

def __init__(self,make,model,year,color):

def drive(self):

def stop(self):
#------------------------------------------------------------------

music credits 🎼 :
===========================================================
Creative Commons — Attribution-ShareAlike 3.0 Unported— CC BY-SA 3.0
===========================================================
Рекомендации по теме
Комментарии
Автор

Learn the basics of POOP in 10 minutes!

from Car import Car

car_1 = Car("Chevy", "Corvette", 2021, "blue")
car_2 = Car("Ford", "Mustang", 2022, "red")

car_1.drive()
car_2.stop()

class Car:

def __init__(self, make, model, year, color):
self.make = make
self.model = model
self.year = year
self.color = color

def drive(self):
print("This "+self.model+" is driving")

def stop(self):
print("This "+self.model+" is stopped")

BroCodez
Автор

I have watched so many videos about OOP but every video was headache for me because those were so confusing but this is one of the best video about OOP, Thank You so much :)

zain__ua
Автор

If you’re new to OOP, start with this video. It summarises what you need to know in 10 minutes and makes sense. I’ve seen a few others and they’re confusing so don’t bother. Start with this!

marcomallia
Автор

Taught me more in 10 minutes than my professor has in two months

emmakatovich
Автор

Easily the most understandable and user friendly video out there. Easy to comprehend examples and a short and sweet video that makes sure to touch all bases. Good job!

SmoothCoaxing
Автор

Man you are a real gem, I've searching a lot of tutorials and getting 2-3 hours long ones I just need the basic as I already knew JAVA and CPP, I found your video. It was superb and right to the point.

muhammaduzairkabeer
Автор

Unbelievably straight forward, surely gonna be watching your other videos soon. Thanks for the great work!

IYoseff
Автор

Usually short vids don't have a lot of the information but you like blown my mind when you explained it BROOOO!
Plus you made me want to create one! Thanks for teaching this, def a sub!

chwderz
Автор

You simplified this perfectly. No BS explanation and I am here for it, after spending too much time learning this through over complicated means.

nathanconley
Автор

Hey! I just found your channel and subscribed, love what you're doing! Particularly, I like how clear and detailed your explanations are as well as the depth of knowledge you have surrounding the topic! Since I run a tech education channel as well, I love to see fellow Content Creators sharing, educating, and inspiring a large global audience. I wish you the best of luck on your YouTube Journey and can't wait to watch your next upload. Cheers, happy holidays, and keep up the great work :)

empowercode
Автор

This was such an easy way to understand as some who just started coding a few days ago. Thank you!

MrChrisgZ
Автор

You only spend a second on it, but the fact that you explained the (self) concept clearly is why your video is better than all the others I've watched so far.

benfrost
Автор

Straight to the point. Really clear. Thx :)

XxfrostxX
Автор

nah, bro, its crazy how a 10 minute vid can teach more than 3 hours at my uni. amazing video dude!

GEB_Rosee_PPS
Автор

I got more understanding about OOP from this than any OOP material I've come across in the last two years. Thanks.

oyebisidara
Автор

YOU KILLED IT!! GREAT STEP BY STEP BREAK DOWN.... THANK YOU

yamashitamoleya
Автор

Short and precise, just what I was looking for. Thanks :)

dipanjanpalchowdhury
Автор

Finally someone who can explain it to normal people. Thank you👍🏾

DrThier
Автор

great explanation man. the simplicity of which you explain it has given me some confidence to go and implement it myself!

benjaminbialy
Автор

Excellent video. Concise and fast. Perfect for reviewing this topic (after so many years without coding) and probably for someone that wants to see how easy it is to make a POOP =)

caiorimoli