#56 Python Tutorial for Beginners | Constructor in Inheritance

///#56 Python Tutorial for Beginners | Constructor in Inheritance

#56 Python Tutorial for Beginners | Constructor in Inheritance

FavoriteLoadingAdd to favorites

Python Tutorial to learn Python programming with examples
Complete Python Tutorial for Beginners Playlist :
Python Tutorial in Hindi :

Github :-

Editing Monitors :

Check out our website:

Follow Telusko on Twitter:

Follow on Facebook:
Telusko :
Navin Reddy :

Follow Navin Reddy on Instagram:

Subscribe to our other channel:
Navin Reddy :
Telusko Hindi :

Donation:
PayPal Id : navinreddy20
Patreon : navinreddy20

source

By |2020-09-10T09:23:41+00:00September 10th, 2020|Python Video Tutorials|21 Comments

21 Comments

  1. Faizan Shaikh September 10, 2020 at 9:23 am - Reply

    Very Good Sir

  2. blender class September 10, 2020 at 9:23 am - Reply

    after seeing which video I will be able to draw with python

  3. shyamu naidu Dhonadhi September 10, 2020 at 9:23 am - Reply

    If we want call constructor of b using c's obj in multiple inheritance what is the condition we want apply?
    Is we call super()._init_() again?

  4. Ankit Aggarwal September 10, 2020 at 9:23 am - Reply

    🖖🏻 Did you take that fron Sheldon Cooper?

  5. Yash Arora September 10, 2020 at 9:23 am - Reply

    I have a doubt.
    What if we create one function in Class A and one function in Class B but with the same name.
    now i inherit Class A in Class B and after creating an object for class B and want want to call that function but from class A.
    For Example—-
    class A:

    def F1(self):

    print("I am Function 1 from Class A")

    class B(A):

    def F1(self):

    print("I am Function 1 from Class B")

    b = B()
    b.F1()

    Output will be "I am Function 1 from Class B".

    but i want to call function F1 from Class A.

  6. Abhinav Gulati September 10, 2020 at 9:23 am - Reply

    What if we want to access both left and right methods from class C itself ?

  7. Shivendra Rajawat September 10, 2020 at 9:23 am - Reply

    I have changed my google search on python to like multithreading in python telusko … Ha ha I now add telusko in every python topic search … Great lectures

  8. Esther Jacob September 10, 2020 at 9:23 am - Reply

    Sir,refer @4:50 .When I code Iam told that "type error",super() takes atleast one argument.
    Why this happens??plz help.

  9. merowe123 September 10, 2020 at 9:23 am - Reply

    Hello Navin instead of super().__init__() , we can you A(). any difference??

  10. Naveen Arikela September 10, 2020 at 9:23 am - Reply

    Twinkle twinkle little star 🌟 Navin sir python star 🌟

  11. aman singh September 10, 2020 at 9:23 am - Reply

    overall video is amazing and interesting too, but I found that whole tutorial becomes useless because of not having exercise problem.
    especially for oops part.

  12. kya yaar September 10, 2020 at 9:23 am - Reply

    Created account just to comment. Simple and to the point explanation.

  13. Nabil Khan September 10, 2020 at 9:23 am - Reply

    subscrib done !

  14. bharti kashyap September 10, 2020 at 9:23 am - Reply

    Sir when I was doing this programme output is not coming ..It is written that " Cannot create a consistence method resolution order for base A And B" …Help me plzzz

  15. ikshita pathak September 10, 2020 at 9:23 am - Reply

    You look like satya Nadella 😅

  16. Avishek Giri September 10, 2020 at 9:23 am - Reply

    What if we want to print _init_ of B as well ?

  17. Aditya Bamniya September 10, 2020 at 9:23 am - Reply

    This Is best

  18. Darth Vader September 10, 2020 at 9:23 am - Reply

    I had already watched other python tutorial but this guy he nails the knowlede in your brain also he teaches deep concepts

  19. Chandal yt September 10, 2020 at 9:23 am - Reply

    This concept became clear very easily

  20. Easy Learning हिंदी September 10, 2020 at 9:23 am - Reply

    Sir super command is not working.
    Super().__init__().
    It says super has no argument

  21. Samyak Marathe September 10, 2020 at 9:23 am - Reply

    Plz explain,
    class Animal:
    def __init__(self, Animal): print(Animal, 'is an animal.') class Mammal(Animal):
    def __init__(self, mammalName): print(mammalName, 'is a warm-blooded animal.') super().__init__(mammalName)
    class NonWingedMammal(Mammal):
    def __init__(self, NonWingedMammal):
    print(NonWingedMammal, "can't fly.") super().__init__(NonWingedMammal) class NonMarineMammal(Mammal):
    def __init__(self, NonMarineMammal):
    print(NonMarineMammal, "can't swim.") super().__init__(NonMarineMammal)
    class Dog(NonMarineMammal, NonWingedMammal):
    def __init__(self):
    print('Dog has 4 legs.') super().__init__('Dog')
    d =Dog()
    print(''")
    bat = NonMarineMammal('Bat')
    ……………………………………………
    Plz explain this. I dont get that how it prints dog cant fly but not prints bat can fly

Leave A Comment

*