Multiple Inheritance | Python Tutorials For Absolute Beginners In Hindi #61

  Рет қаралды 108,679

CodeWithHarry

CodeWithHarry

Күн бұрын

Пікірлер: 182
@sudarshanmhaisdhune1039
@sudarshanmhaisdhune1039 4 жыл бұрын
Harry bhai is more established world class explainer than just being a coder ......(* Coder to bahot bhare pde hue hai, explanor kaha hai to yha hai )....💓
@seemarana3609
@seemarana3609 2 жыл бұрын
Aap Kon h Pls tell me
@seemarana3609
@seemarana3609 2 жыл бұрын
I am arya
@sudarshanmhaisdhune1039
@sudarshanmhaisdhune1039 2 жыл бұрын
Mai Sudarshan hu
@konozrashid887
@konozrashid887 Жыл бұрын
Beshak!❤
@konozrashid887
@konozrashid887 Жыл бұрын
Zabardast Harry bhai! Zabardast! You're the best of all the explainers of Programming Masha-Allah!
@engineerbhai7642
@engineerbhai7642 5 жыл бұрын
Excellent coder and Bestcoder in you tube
@Simonpro121
@Simonpro121 4 жыл бұрын
Not in youtube in the world
@aerospacebriefcase2290
@aerospacebriefcase2290 4 жыл бұрын
yeah mate
@TechnicalAnkesh
@TechnicalAnkesh 4 жыл бұрын
print("Enter your name") name = input() if name == "Harry": print("Bahut badia bhai ekdam crystal clear hoo gaya Thank you soooooooooooo much") else: print("Maja nahi aya")
@darktech1641
@darktech1641 3 жыл бұрын
wow! very ice
@rakshitjain5059
@rakshitjain5059 2 жыл бұрын
else: print("Maja nahi aya")
@TechnicalAnkesh
@TechnicalAnkesh 2 жыл бұрын
@@rakshitjain5059 🤣🤣😂
@rakshitjain5059
@rakshitjain5059 2 жыл бұрын
@@TechnicalAnkesh 😁
@sayedrazzak9488
@sayedrazzak9488 2 жыл бұрын
Harry❤️😅
@GauravKumar-pc8iw
@GauravKumar-pc8iw 4 жыл бұрын
ye harry ,apun ne v pura 61 video dekh rkha hai aur umeed h pura dekhega mai.thanks bhai for your efforts
@AnkushSaral
@AnkushSaral Жыл бұрын
My name is Ankush Sir and maine abhi tak all videos regularly dekhe hai is playlist ke. And mai keh sakta hu ki ye playlist aapki 100 days of python course se much better hai.🎉
@AbdulSalam-pv6es
@AbdulSalam-pv6es 2 жыл бұрын
I am watching this series from about 2 weeks ago and watched every single video, and will watch ahead, you teach very well and I love the way you teach and your videos helped me a lot in learning python. I am learning python for server side programming and you are teaching everything I would need and hope that you will teach more. Thank You!! You give heart to those who comment but I would like to give you a heart for your efforts: 🥰🥰🥰❤❤❤
@himanshu_rohil
@himanshu_rohil 3 жыл бұрын
What's the use of Multiple Inheritance class Programmer (Employee, Player) in this example, when we make instances in Programmer class it takes the functions and variables of Employee class only. Then, what's the use of Player class? This much we can do in Single Inheritance also, then why should I use Multiple Inheritance?
@rayyanamir8560
@rayyanamir8560 2 жыл бұрын
Same doubt
@rjdynasty9613
@rjdynasty9613 2 жыл бұрын
Bhai if there is no constructor or variables in Employee then it will take variables of Player
@raghavmanishraghavmanish8468
@raghavmanishraghavmanish8468 2 жыл бұрын
ha yrrr mai bhi de rha second wala class to error aa rha
@shdnas6695
@shdnas6695 2 жыл бұрын
did u get the answer?
@ndbweurt34485
@ndbweurt34485 Жыл бұрын
@@rjdynasty9613 no, its not working that way. It only accepts variables of first class.
@priteshtadvi4946
@priteshtadvi4946 3 жыл бұрын
Harry bhai is best 💯💓 I watched all from beginning and going to watch all 129 tutorial videos
@anishjain8096
@anishjain8096 6 жыл бұрын
THANKU BHAI AB SE ROZ DEKHO GA ONCE AGAIN THANKS FOR YOUR EFFORTS AND DEDICATION
@ShivamSingh-kn3gz
@ShivamSingh-kn3gz 4 жыл бұрын
I really appreciate your all work and practice. I had fun learning multiple inheritance.
@raviranjansharma8953
@raviranjansharma8953 4 жыл бұрын
Harry Bhai, I have watched first 59 videos continuously in a day. l really studied a lot of things . I was regretting why did't find these videos earlier. Thanks a lot, Harry Bhai....
@Enjoyurlife1789
@Enjoyurlife1789 2 жыл бұрын
I come to 59 from 50 in a week ... 😐
@theextrovert_
@theextrovert_ 3 жыл бұрын
KZbin ke badshah hai humhare bhayia
@ujjwalgupta4703
@ujjwalgupta4703 4 жыл бұрын
superb bhaiya...
@rohanbeast3381
@rohanbeast3381 4 жыл бұрын
bhai i am only 13 years old, but you changed my life.(yaha tak aana thoda mushkil tha lekin mene adjust kar liya)
@aaryankakad6627
@aaryankakad6627 4 жыл бұрын
Bhai I am 13 years old aur mujhe coding sikhne bahut icha thi aur fir mujhe aapka channel mila aur fir my life changed yaha tak pura course follow kiye aur mehnat ki. Thank you for world's best Python course. And I am your subscriber from 100k
@pranavraj2158
@pranavraj2158 3 жыл бұрын
me to bro I am also 12 year old boy
@gauravmasand
@gauravmasand 4 жыл бұрын
Best videos hai Harry bhai apka
@sakalagamingyt3563
@sakalagamingyt3563 2 жыл бұрын
very helpful
@noel1522
@noel1522 4 жыл бұрын
Mazaa aa gya bro. Keep it up!!
@AtanuDebnath
@AtanuDebnath 2 жыл бұрын
I have watched all of it since the lesson 1. Thank you so much Harry bhai
@iamprashantjain
@iamprashantjain 2 жыл бұрын
You said CoolProgrammer will have all the powers of Employee & Player but why when creating object, we can only give arguments like name, salary, role & not game which was player arguments.. same ways when trying to acess game of cool programmer, I cant access which game he plays
@aadarshmishra5276
@aadarshmishra5276 Жыл бұрын
same question
@vimalkumarchaudhary1913
@vimalkumarchaudhary1913 4 жыл бұрын
Incredible sir
@utkarshgautam1940
@utkarshgautam1940 3 жыл бұрын
Utkarsh Gautam 0 seconds ago queston-- sir constructor agar theeno class m hai to kavel employee class ka contructor chal raha ,why????
@saharayub4448
@saharayub4448 2 жыл бұрын
God bless you!
@bhagatsinghbanger8425
@bhagatsinghbanger8425 4 жыл бұрын
I am following this whole tutorials of python great job Harry bhaiya
@Simonpro121
@Simonpro121 4 жыл бұрын
Nice job Harry bhai
@darshankalamkhede4385
@darshankalamkhede4385 5 жыл бұрын
Darshan Kalamkhede I have completed all of your videos and benifitted
@jatsyamohla_0752
@jatsyamohla_0752 3 жыл бұрын
This is more comfortable than a 12 hr lecture its proper and more explanable
@BLazerrrr123
@BLazerrrr123 2 жыл бұрын
Thank you harry bhai for this playlist
@tanishbhajnik4822
@tanishbhajnik4822 3 жыл бұрын
Hello Harry bhai. Can you please tell what are the specs of your PC?
@vikasreddy8975
@vikasreddy8975 3 жыл бұрын
tension leni wali bath nahi hai excellent dialogue
@raghavmanishraghavmanish8468
@raghavmanishraghavmanish8468 2 жыл бұрын
enjoying this python playlist
@SB-ji7nj
@SB-ji7nj 6 жыл бұрын
Merry Christmas Sir ji
@CodeWithHarry
@CodeWithHarry 6 жыл бұрын
Same to you Sharad bhai. Kya plans hain aaj ke?
@SB-ji7nj
@SB-ji7nj 6 жыл бұрын
Sir abhie to aise kuch khaas nhi hai par kisi din party rakhenge to sabse pehla invitation aapko hoga,you are really very good teacher and inspiration for us
@navratanjain4964
@navratanjain4964 3 жыл бұрын
Good learning course Continue harry bhai Thanks a lot
@utkarshgautam1940
@utkarshgautam1940 3 жыл бұрын
Utkarsh Gautam 0 seconds ago queston-- sir constructor agar theeno class m hai to kavel employee class ka contructor chal raha ,why????
@sumitgaud4849
@sumitgaud4849 3 жыл бұрын
Thank you so much harry bhai making on python tutorial.this is help me so much harry bhai .
@mihirmodi1936
@mihirmodi1936 4 жыл бұрын
agar next time aap esa koy topic padhaye to pehle uss topic ki puri detail de dijiye. matlab ki agar inheritance ho to pehle uski sari type bata dijiya and last me sab ka difference batayye.i think that is a good way.anyway its very nice tuts.thank you.
@arduinoartsfunlearn3583
@arduinoartsfunlearn3583 6 жыл бұрын
how to pass both argument of employee class and player class in coolplayer karan=coolplayer["karan",89999,"coolplayer","football"]-----gives a error
@nikitajadhav5112
@nikitajadhav5112 4 жыл бұрын
@HYBRID SOL plz explain
@arpittailong9605
@arpittailong9605 4 жыл бұрын
yes plz explain... as if we create new instance in next line of the class which is inherited second.. its again shows an error
@yateshpatil866
@yateshpatil866 4 жыл бұрын
@@arpittailong9605 class Employee: no_of_leaves=8 var=8 def __init__(self,name,salary,role): self.name=name self.salary=salary self.role=role def printdetails(self): return f"Name is {self.name}, salary is {self.salary}, and role is {self.role}" class Player: var=9 def __init__(self,name,game): self.name=name self.game=game def printplayer(self): return f"Name is {self.name},game is {self.game}" class Coolprogrammer(Employee,Player): language="C++" var=10 def printcool(self): return f"languages known are {self.language}" harry = Employee("Harry",450,"Software developer") rohan = Employee("Rohan",100,"Intern") Shubham=Player("Harry","Cricket") karan=Coolprogrammer("Karan",8500,"Senior Data Scientist") karan.game=["Cricket","Tennis"] print(karan.printplayer())
@utkarshgautam1940
@utkarshgautam1940 3 жыл бұрын
Utkarsh Gautam 0 seconds ago queston-- sir constructor agar theeno class m hai to kavel employee class ka contructor chal raha ,why????
@sarfaraz6582
@sarfaraz6582 3 жыл бұрын
@HYBRID SOL it can not be used in multiple inheritance
@abdulqadar771
@abdulqadar771 3 жыл бұрын
Brilliant Teacher
@mayurthorat512
@mayurthorat512 4 жыл бұрын
Nycly explained bhai ✌️
@trippyrider6898
@trippyrider6898 4 жыл бұрын
Thnku Harry bhai
@paridhisingh8501
@paridhisingh8501 2 жыл бұрын
Thank you very much sir for all these videos💗
@navneetkumar6883
@navneetkumar6883 4 жыл бұрын
I am seeing this series from #0
@ilyassyed6968
@ilyassyed6968 3 жыл бұрын
Please more zoom out pycharm editor as i see your videos on phone. Mostly i see them more than once. If you do not zoom out alphabets looks very small.
@vikassingh-jm2ex
@vikassingh-jm2ex 3 жыл бұрын
True
@techzcool
@techzcool 4 жыл бұрын
Best explanation sir..
@samuelfrank9947
@samuelfrank9947 3 жыл бұрын
Thanks a lot
@paridhisingh8501
@paridhisingh8501 2 жыл бұрын
I have reached here and will finshed the entire exercise soon😇....Thank you sir💞
@itsumair001
@itsumair001 Жыл бұрын
Hello Sir I have 3 classes In class2 I have inherited class1 in class3 I have inherited class1 and class2 but it gives MRO error while I removed class1 inheritence from class2 then I am able to multi inherit them in class3 and MRO issue solved Sir I want to how to use inherit both classes while it also inherited in class2
@HarshSingh-lp5xo
@HarshSingh-lp5xo 4 жыл бұрын
Sir Inner class ke topic par bhi 1video banao please.
@manjuvishnoi7632
@manjuvishnoi7632 3 жыл бұрын
Thank you sir😀
@prahladkumar9985
@prahladkumar9985 4 жыл бұрын
sir only ek class hi kam krta he h as a argument m aage wala hi ex - programmer(player,Employee) to hum sirf player ka hi data le skte hy sir to Employee ko argument my pass kraky kya fyadaa hua.ye to naam ka multiple inheritence ho jyga sir
@YashMaheshwari_15_85
@YashMaheshwari_15_85 4 жыл бұрын
Lekin bhai agr koi variable ya attribute pehli class(player) me nhi hua or dusri class(Employee) me hua to hm dusri class se access kr skte h na. Isliye do class ka option h multiple inheritance me.
@Rastic_Vlogs
@Rastic_Vlogs 2 жыл бұрын
sir me dekh ra hu abhi tk thank you
@gauravbagul3336
@gauravbagul3336 4 жыл бұрын
Bhai U r Amazing
@cedricwoodland3577
@cedricwoodland3577 3 жыл бұрын
Thank you Harry sir
@soumojitchowdhury7328
@soumojitchowdhury7328 4 жыл бұрын
but Harry vai agar mujhe dono ka hi constructor use karna ho to? matlab agar mai coolprogrammer("Karan",1234,"coolprogramer",["Cricket","Football"]) aisa dena chau to?
@navyaanzaheen3233
@navyaanzaheen3233 3 жыл бұрын
aap ko do constructor banane parein gy aik coolprogrammer ka aur aik player ka yani do class k constructor banane parein gya
@parveenhacker7715
@parveenhacker7715 4 жыл бұрын
Reached 61 and going to complete full playlist soon😎 thankx bro🙏
@jitendratiwari6886
@jitendratiwari6886 2 жыл бұрын
you are 1 yr ahead of me.
@Adityakumar-rz6rv
@Adityakumar-rz6rv 2 жыл бұрын
now I can give Multiple Inheritance to a class that means I am becoming more cool in python thank you harry bhaiya
@chetanamritanshu3675
@chetanamritanshu3675 4 жыл бұрын
Coolprogramer run karne pe player ka constructor run ni hoga??
@paramjitchander6943
@paramjitchander6943 4 жыл бұрын
Bro please make C# tutorial
@milestips
@milestips 3 жыл бұрын
Amazing
@raghuram9403
@raghuram9403 2 жыл бұрын
Thanks
@anaskhan4841
@anaskhan4841 4 жыл бұрын
Harry bhai! you are a great teacher
@satyambansal4880
@satyambansal4880 4 жыл бұрын
bhaiya,mu question is how we print the (karan .prindetails ()) of both the employee and player class .if it is same so we can change the name printdetalis of employee class to printdetail and now i want to print the karan.printdetails() and also karan .printdetail()
@satyambansal4880
@satyambansal4880 4 жыл бұрын
bhaiya please reply to this message
@satyambansal4880
@satyambansal4880 4 жыл бұрын
please, please please
@shivamrawal4824
@shivamrawal4824 4 жыл бұрын
Please properly elaborate ur question I'll try to help
@codewithharryfanchannel559
@codewithharryfanchannel559 5 жыл бұрын
Excellent
@nikhilchauhan1507
@nikhilchauhan1507 4 жыл бұрын
bro karan me player class ke liye (5:55) error kyu nahi di....???
@abhisheksachan4117
@abhisheksachan4117 4 жыл бұрын
Kyuki karan ne phle employe ki values inherit kar li hai so employe so sabse phle initialize karega jo mandataory hai
@tanaymishra3375
@tanaymishra3375 4 жыл бұрын
mujhe aaya hai error
@tradingkeeda5575
@tradingkeeda5575 4 жыл бұрын
bhai please stock market ki algos banana sikha do
@aastikmandil3516
@aastikmandil3516 4 жыл бұрын
bro if it is inheriting both the class the why wont it take all the argument of both the class and those argument which is common in both the class can it take both value same and why don't it run both class methods
@ojaselawadhi4425
@ojaselawadhi4425 3 жыл бұрын
agr coolprogrammer wali class mae constructor hota aur woh arguments leta toh hum karan wala variable banate tym coolprogrammer ke constructor ki values bhjte??
@hammadalamsiddique3730
@hammadalamsiddique3730 2 жыл бұрын
G qk koi b object sb se pehle apne hee class me wo cheez dekhta hai ab wo cheez constructor ho, methods hon ya phr attributes.
@piyush9555
@piyush9555 5 жыл бұрын
maine puri playlist dekhi h
@eklavyaSachin
@eklavyaSachin 6 жыл бұрын
bhai video me sahi se dikhta nahi likha hua usse aap next time se thoda zoom karke bada bada banana ok
@adishmangla1183
@adishmangla1183 2 жыл бұрын
I gave 2 arguments after inheriting a player first, and an employee second. now at if try to call print details of class employee? how can it run it needs 4 arguments and I only gave 2!!
@Dailythingsx
@Dailythingsx 4 жыл бұрын
class Student: no_of_leaves=12 def __init__(self,name,rollno,section): self.name=name self.rollno=rollno self.section=section def details(self): return f"{self.name} whose rollno is {self.rollno} " \ f"& he is in section {self.section}." @classmethod def change(cls,newleaves): cls.no_of_leaves=newleaves @classmethod def ch(cls,strings): return cls(*strings.split("-")) @staticmethod def str_1(string): print("I love mona"+string) class Players: no_of_games=4 def __init__(self,name,game): self.name=name self.game=game def gamers(self): return f"{self.name} plays{self.game}" class Cool_student(Student,Players): language="Java" def skills(self): print(self.language) Monika=Student("Monu",22,"A") Ayush=Student("Ayu",24,"B") Shivam=Student("Shi",26,"C") Priya=Student("Popat",28,"D") Yash=Players("Yash",["Table Tennis","Volly ball"]) Akshay=Cool_student("Akki",26,"F") print(Yash.gamers()) print(Akshay.details()) Akshay.skills()
@sayedrazzak9488
@sayedrazzak9488 2 жыл бұрын
Everything is good but who is mona 😂😂
@Dailythingsx
@Dailythingsx 2 жыл бұрын
@@sayedrazzak9488 mona darling..
@sayedrazzak9488
@sayedrazzak9488 2 жыл бұрын
@@Dailythingsxyour crush or gf 😂😂😂
@Dailythingsx
@Dailythingsx 2 жыл бұрын
Randomly selected this name neither gf nor crush. Popat is also there
@vinaykumar-tr6ll
@vinaykumar-tr6ll 2 жыл бұрын
agr player class ke method ko access krna ho to kaise krenge
@goureshchauhan792
@goureshchauhan792 4 жыл бұрын
the video can be improvep by putting more projects in between the series which you also provide code of
@utkarshgautam1940
@utkarshgautam1940 3 жыл бұрын
queston-- sir constructor agar theeno class m hai to kavel employee class ka contructor chal raha ,why????
@alokbhowmik3547
@alokbhowmik3547 6 жыл бұрын
Merry Christmas bro
@CodeWithHarry
@CodeWithHarry 6 жыл бұрын
Same to you Alok bhai. Kya plans hain aaj ke?
@taherdoriwala9750
@taherdoriwala9750 4 жыл бұрын
how can i print 'karan.game' if the employee class is first. How can that attribute be added?
@Slade69
@Slade69 4 жыл бұрын
you can still print it. The problem only arises when the method/variable name is same in both the parents
@ishansrivastava674
@ishansrivastava674 4 жыл бұрын
what will happen if i make a new class ("CoolestProgrammer") and then inherit coolprogrammer in it then will I get all the methods and functions of employee and player and coolprogrammer or I will only get the functions and methods of only coolprogrammer (a.k.a "language " and "printlanguage(self):"
@ishansrivastava674
@ishansrivastava674 4 жыл бұрын
plz tell sir
@abhijeetzagade8162
@abhijeetzagade8162 3 жыл бұрын
you will get all methods of parent and grand parent
@ompatel9298
@ompatel9298 5 жыл бұрын
Thanks BRO
@sanjeevbhatta3830
@sanjeevbhatta3830 4 жыл бұрын
how to access the another class in that ,the base class which you keep the first is only working
@suhanshbangre
@suhanshbangre 3 жыл бұрын
Yes @codewithharry bhai ... please samjhaiye na
@amarjeetkumarsingh7023
@amarjeetkumarsingh7023 4 жыл бұрын
I am watching this series from begining
@howthingshappen00
@howthingshappen00 4 жыл бұрын
i am here from #1 learning much more from your lessons
@thebakchodvines5190
@thebakchodvines5190 6 жыл бұрын
Full support dharmendra Gupta ki or se
@PrinceKumar-kr5ig
@PrinceKumar-kr5ig 5 жыл бұрын
Cool...!!
@kshitij5361
@kshitij5361 4 жыл бұрын
My name is Kshitij and i am here from starting
@utsabbashyal7929
@utsabbashyal7929 5 жыл бұрын
harry sir where"s the source code?
@sw-code6027
@sw-code6027 3 жыл бұрын
Kaya ma input ly sakta hun class ma?
@aruneshkumar1388
@aruneshkumar1388 6 жыл бұрын
Sir aapke kitne websites hai aur please link share kro
@arnavbhavsar8567
@arnavbhavsar8567 4 жыл бұрын
Anyone please help me with it Bro agar Humne 2 class ko inherit kiya hai coolprogrammer me to jab hum karan = coolprogrammer() banaye to ye 5 argument lena chahiye na, 3 employee class ke aur 2 player class ke lekin aap ke code me to sirf 3 hi arguments liye hai
@krunalrane8621
@krunalrane8621 4 жыл бұрын
3 hei class leyega q ki woo humesha Jo parent class hey uske arguments lehta hey .. Aaap parent class khud decide krr sktey hoo (player chaiyhye yaa fir emplyoee)
@thebakchodvines5190
@thebakchodvines5190 6 жыл бұрын
Continue bro
@familyaccount467
@familyaccount467 4 жыл бұрын
Bhai ye hauaa kya hota h?
@programmerlovers8071
@programmerlovers8071 2 жыл бұрын
I reached this video on Saturday, 30 April 2022 .
@swapneshswaroopmohanty5782
@swapneshswaroopmohanty5782 3 жыл бұрын
op sir
@miteshsoni5941
@miteshsoni5941 3 жыл бұрын
HARRY BHAI EK PROBLEM AARI HAI, AGAR HUMNE THOUSAND LINES OF CODE LIKHA HO THEN AGAR HUME SUDDENLY EMPLOYEE WALI PROPERTY KO CALL KARNA HO TOH BAAR BAAR JAAKE SEQUENCE CHANGE KARNA PADDEGA NA TOH IS HISAB SE KITNA TIME WASTE HOGA USE DHUNDH NE ME! KYUKI JISKA ORDER PEHLE INHERIT HOGA USI KI PROPERTIES KO CALL KAR PAYENGE!!
@rishabhkadam128
@rishabhkadam128 4 жыл бұрын
Class or def me kya fark h
@abhimanyudwivedi6651
@abhimanyudwivedi6651 4 жыл бұрын
vMultithreading and multi tasking in python
@lokeshsah6892
@lokeshsah6892 Жыл бұрын
I see all videos
@aag9878
@aag9878 5 жыл бұрын
Can we give the two arguments in the programer paranthesis is it is work or not
@Helper_Craft
@Helper_Craft Жыл бұрын
What if player inherits employees and coolprogrammer inherits player 🤔🤔
@brokensayar-_-
@brokensayar-_- 4 жыл бұрын
Bhai ye indentation error aa rahi hai self.name me #kyu
@codewithalok5379
@codewithalok5379 4 жыл бұрын
Tab Dabado
@raviroshan7341
@raviroshan7341 5 жыл бұрын
Ravi Roshan Kumar Maine 62 videos dekhi h
@gamingzone7273
@gamingzone7273 Жыл бұрын
enjoying/learning in 2022
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Top Skills to Learn in 2025
9:31
CodeWithHarry
Рет қаралды 283 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН