Method Overriding in Python | Python Tutorial - Day #74

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.ย. 2024

ความคิดเห็น • 128

  • @jaideepawari7523
    @jaideepawari7523 ปีที่แล้ว +23

    You're making a millions of careers!
    Jabardast Harry Bhai!

  • @ghostAlien44
    @ghostAlien44 ปีที่แล้ว +36

    You collaborated with replit india for 100 days of code 😎😎😎

  • @mariamhasan3733
    @mariamhasan3733 ปีที่แล้ว +10

    Day #74th done! Can't believe I have been able to complete 74% of this course. Hoping to reach the #100th day soon. All thanks to Harry bhai for launching this amazing course!

    • @HardLessonsOfLife
      @HardLessonsOfLife ปีที่แล้ว

      Did you actually reach 100th lesson? Please let me know. I have completed 73 lessons so far. But, it is getting a bit heavier now. I am finding it a bit difficult to cruise forward now.

    • @mariamhasan3733
      @mariamhasan3733 ปีที่แล้ว

      @@HardLessonsOfLife Hi. I have already completed the 100th day finally. Even though there were some gaps in some of the topics, I will try to fulfill them by doing projects. You can skim through the videos, practice, and come back later again.

    • @HardLessonsOfLife
      @HardLessonsOfLife ปีที่แล้ว

      @@mariamhasan3733 thanks. This is motivating. I have completed 85 videos of this playlist. I hope to finish the rest over 3 days.

    • @mariamhasan3733
      @mariamhasan3733 ปีที่แล้ว

      @@HardLessonsOfLife Congratulations! See you on the 100th day

    • @HardLessonsOfLife
      @HardLessonsOfLife ปีที่แล้ว

      @@mariamhasan3733 done with video of day 92 now. So, not very far

  • @zq.nain.
    @zq.nain. 7 หลายเดือนก่อน +2

    Many people left and few of them are still consistent including me :) I really love when i write the code

  • @rishiraj2548
    @rishiraj2548 ปีที่แล้ว +2

    Enlightening Video in respect of Maths.
    Gratitude!

  • @JainamSutaria777
    @JainamSutaria777 ปีที่แล้ว +5

    It's important to note that when you override a method, the new implementation must have the same method signature as the original method. This means that the number and type of arguments, as well as the return type, must be the same.
    @CodeWithHarry Please check the last statement
    The number of arguments can be different.

  • @vaibhavsoni4680
    @vaibhavsoni4680 9 หลายเดือนก่อน +1

    class vaibhav:
    def __init__(self,a,b,c):
    self.a=a
    self.b=b
    self.c=c
    def solve(self):
    return self.a*self.b*self.c
    class ajay(vaibhav):
    def __init__(self,a,b,c,d,e,f):
    self.a=a
    self.b=b
    self.c=c
    self.d=d
    self.e=e
    self.f=f
    super().__init__(self.a,self.b,self.c)
    def solve2(self):
    return super().solve() + self.d+self.e+self.f
    obj=ajay(10,20,30,40,50,60)
    new=obj.solve2()
    print(new)
    # method overriding wo method hoti hai jisme super class ya parent class me pahle se hi method define hoti hai us method ko subclass me use kar lia jata hai bina koi new method banaye

  • @adarsh_endeavour
    @adarsh_endeavour ปีที่แล้ว +3

    At Day 72 Guys a Big achievement for me😀Glad to follow this course till day 72..Harry Bhai Please flask yaa django kaa bhi use bta doo it will actually help allot to get a job to the new commers😀apart from this it was really easy the way you taught? Love you Harry Bhai♥️

  • @curtezyt1984
    @curtezyt1984 ปีที่แล้ว +10

    SIR PLEASE MAKE A PLAYLIST ON MACHINE LEARNING WITH PYTHON . BTW I REALLY LIKE YOUR VIDEOS ❤

  • @narendraparmar1631
    @narendraparmar1631 8 หลายเดือนก่อน +1

    Thanks Harry for your efforts.

  • @adityapradhan8474
    @adityapradhan8474 7 หลายเดือนก่อน +1

    Thank you so much... Very good explanation

  • @Muhammadatif794
    @Muhammadatif794 ปีที่แล้ว +3

    My favorite ❤❤

  • @AbdulREHMAN-co2kd
    @AbdulREHMAN-co2kd ปีที่แล้ว +1

    sir make a playlist 'the ultimate data science with python course '

  • @shahidshaikh-uv3bg
    @shahidshaikh-uv3bg ปีที่แล้ว +1

    Harry is best teacher

  • @pankajsinghbisht76
    @pankajsinghbisht76 ปีที่แล้ว +1

    Namaste Guruji

  • @HuzaifaKhan-iy5qj
    @HuzaifaKhan-iy5qj หลายเดือนก่อน

    Have learned a lot of things from you.
    Your student from pakistan.

  • @islamabadianstar6946
    @islamabadianstar6946 5 หลายเดือนก่อน

    Thanks for your efforts and your knowledge sharing , Sir

  • @ssgamer5693
    @ssgamer5693 10 หลายเดือนก่อน +2

    Hi harry!
    I tried method overriding the same way as in the video,but when i used super().parent_class_method() in calculations in a method in inherited child class,I was getting error saying super().parent_class_method() is of Nonetype whereas ur code got executed
    somone pls help

  • @Daily_dose_motivation29
    @Daily_dose_motivation29 ปีที่แล้ว +1

    Day 74 🔥

  • @4dimusic
    @4dimusic ปีที่แล้ว +1

    Bhaiya SQL bhi ek video bna do please

  • @bhagyabajoria
    @bhagyabajoria ปีที่แล้ว +1

    Sir I have a question regarding dns tgat should I will use cloudflare or simply use let's encrypt

  • @rrjishan
    @rrjishan 7 หลายเดือนก่อน

    i want you to please explain how memory to variables are allocated while using super method

  • @aryansharmaa5792
    @aryansharmaa5792 ปีที่แล้ว

    @codewithharry please make a full course on dart programing with flutter please #codewithHarry #dartprogramminglanguage #flutter

  • @deepsinghamahapatra
    @deepsinghamahapatra ปีที่แล้ว +1

    Bhaiya AI & ML Roadmap 2023 Banao please
    And 2023 ML Tutorials

  • @nehajadhav9684
    @nehajadhav9684 ปีที่แล้ว +1

    Sir please provide notes that are shown in video lectures in PDF format

  • @NEERAJ-dw9bt
    @NEERAJ-dw9bt 5 หลายเดือนก่อน

    Present sir 🤚

  • @tech_anuj
    @tech_anuj ปีที่แล้ว

    HarryBhai now you start React playlist step to step with notes. 🙏

  • @letscatchup5869
    @letscatchup5869 4 หลายเดือนก่อน

    thank you

  • @AirborneMusics3290
    @AirborneMusics3290 ปีที่แล้ว

    Harry Bhai 😌😌 please next playlist kivy

  • @rahulchitalkar1636
    @rahulchitalkar1636 ปีที่แล้ว

    Yar ap bohot achhge se sikhate ho sir hatts oofff you great parson r u ❤️🌹🦋❣️😎😎😎😊😊😊😊😊😊😊

  • @meditationmusic6482
    @meditationmusic6482 ปีที่แล้ว

    Thanks sir.

  • @Yudhyasva_
    @Yudhyasva_ ปีที่แล้ว

    Great

  • @CoderzGaming093
    @CoderzGaming093 ปีที่แล้ว +1

    #day74

  • @usmanmustafa4192
    @usmanmustafa4192 ปีที่แล้ว

    Harry bhai plz make playlist on React Native plz 🙏❤️

  • @mdnazrulislam3346
    @mdnazrulislam3346 9 หลายเดือนก่อน

    Veryyyyy gooddddd course damn

  • @maroofrajput2003
    @maroofrajput2003 ปีที่แล้ว

    Aws mysql django series ❤️❤️❤️❤️❤️💜💜💜💜💜💜❤️❤️❤️

  • @coderacademy4349
    @coderacademy4349 ปีที่แล้ว

    Bhaiya me IT field me hu aur muje development and hacking dono me interest hai to muje as a carrier kya choose karna chahiye

  • @udit9639
    @udit9639 ปีที่แล้ว

    Sir can you please make a video on micropython

  • @susmitamainde6644
    @susmitamainde6644 หลายเดือนก่อน

    at 4:15 when Circle object's area method is calling super.area() method then what will be the value of x and y. since we have given only one value to object(5) so how it will take the value for x and y
    i know in this case it is taking value 5 for both x and y but i didn't get how? is it same for all cases?

    • @rishiparmar4280
      @rishiparmar4280 หลายเดือนก่อน +1

      observe __init__ method in child class it is assigning x and y as radius

    • @susmitamainde9017
      @susmitamainde9017 หลายเดือนก่อน

      ​@@rishiparmar4280got it

  • @RohanDasRD
    @RohanDasRD ปีที่แล้ว

    Day 74 done

  • @AiMotivation459
    @AiMotivation459 ปีที่แล้ว

    Haris Bhai DSA + Java ka course laeye

  • @shivamchaudhary8592
    @shivamchaudhary8592 ปีที่แล้ว

    #Day74 Present Sir

  • @maroofrajput2003
    @maroofrajput2003 ปีที่แล้ว

    Aws mysql django series ❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️

  • @mdsohanurrahmanhridoy1343
    @mdsohanurrahmanhridoy1343 ปีที่แล้ว

    #Completed#Day 74/100😍

  • @amitkushwaha105k
    @amitkushwaha105k ปีที่แล้ว

    super().__init__(radius,radius)

  • @shreyash87
    @shreyash87 7 หลายเดือนก่อน +1

    harry teaching >>>> collage

  • @dhananjayadk4611
    @dhananjayadk4611 ปีที่แล้ว +1

    Hi Harry 💞

  • @Manish-qt1bz
    @Manish-qt1bz ปีที่แล้ว

    Present Sir 🔥

  • @elijahlowe
    @elijahlowe ปีที่แล้ว

    need c++ details full course.

    • @romapatel9293
      @romapatel9293 ปีที่แล้ว

      Harry bhai k video he..c++

  • @kulwinderchoudhary7454
    @kulwinderchoudhary7454 ปีที่แล้ว

    sirr shopify pe bnao playlist

  • @okkk21
    @okkk21 ปีที่แล้ว +1

    @CodeWithHarry
    day 15 please solve the exersice
    i stuck on this
    its just print both good morning and good evening
    help me 🙏🙏🙏

    • @inoxentboy-8486
      @inoxentboy-8486 ปีที่แล้ว

      import os
      import uuid
      import time
      from termcolor import colored
      import requests
      import time
      from rich import print as prints
      from rich.panel import Panel
      def welcome_message(function):
      def wrapper(*args, **kwargs):
      timestamp = time.strftime('%H:%M:%S')
      prints(timestamp)
      hours = int(time.strftime('%H'))
      if 2

  • @gamex9553
    @gamex9553 ปีที่แล้ว

    day 74 completed

  • @jp-yu5wz
    @jp-yu5wz ปีที่แล้ว

    I'm present 💝

  • @HuzaifaKhan-iy5qj
    @HuzaifaKhan-iy5qj หลายเดือนก่อน

    # Show method is overridden
    class employe:
    def __init__(self, name, id, address):
    self.name = name
    self.id = id
    self.address = address

    def show(self):
    print(f"Name = {self.name}
    Id = {self.id}
    Address = {self.address}")

    class designation(employe):
    def __init__(self, name, id, address, desig):
    super().__init__(name, id, address)
    self.desig = desig
    def show(self):
    super().show()
    print(f"Designation = {self.desig}
    ")

    # Instances
    e1 = designation("Patrick", "ca213", "New York", "Manager")
    e1.show()
    e2 = employe("CAddy", "ds232", "Chicago")
    e2.show()

  • @henilrupawala
    @henilrupawala ปีที่แล้ว

    Present ✋🏻Sir

  • @sudhansubalasahoo
    @sudhansubalasahoo ปีที่แล้ว

    Present Sir

  • @aaroohichaudhary6867
    @aaroohichaudhary6867 3 หลายเดือนก่อน +2

    Sir, your videos are good, But in OOPS concept videos it feels like you are teaching in hurry. The concepts are difficult to understand for a beginner. That getter and setter and this method overriding concept didn't understood properly honestly. This lec was like a revision instead for a beginner

  • @maxpatil6527
    @maxpatil6527 ปีที่แล้ว

    thanks for this video
    online hacking course ka se kare

  • @arpankarmakar16
    @arpankarmakar16 ปีที่แล้ว

    Present sir on Day#74

  • @shabansarfraz
    @shabansarfraz ปีที่แล้ว

    harry bhai litreally im addicted to you song heheheh

  • @Axel-9005
    @Axel-9005 หลายเดือนก่อน

    anyone please suggest me a website for python theory and it should explain in briefly

  • @KlutchyRex
    @KlutchyRex 10 หลายเดือนก่อน

    4:14 bhai kyun kar rahe ho dimag hang hogaya

  • @parthpathak7429
    @parthpathak7429 ปีที่แล้ว

    Sir please again make a new video to install mingw w64

  • @Coder_Byte
    @Coder_Byte ปีที่แล้ว

    Hello Harry bhi ❤️

  • @lakhyadeepsen
    @lakhyadeepsen ปีที่แล้ว

    Day 74 of 100 of python challenge completed. #100DaysofCode #100dayspythonchallenge

  • @andropsfbyy6492
    @andropsfbyy6492 ปีที่แล้ว

    Oppppp

  • @nareshkumar2008
    @nareshkumar2008 ปีที่แล้ว +1

    Hi Harry bro, please
    Suggest me the Best laptop under 95k
    My requirements are
    1) Python, ML,AI, DS CODING
    2) Screen recording while coding
    3) Fullhd video editing.
    4) graphics card must and should

  • @MyManMirror
    @MyManMirror 11 หลายเดือนก่อน

    am getting error of multiplying string with number when am using super().area()

  • @rishiraj2548
    @rishiraj2548 ปีที่แล้ว

    🙏💯💯

  • @theroshantune
    @theroshantune ปีที่แล้ว

    i was inconsistent for few days now, i am back on track!
    day 74 done

  • @shibammondal3915
    @shibammondal3915 ปีที่แล้ว

    #Day_74

  • @thegamingsurprises
    @thegamingsurprises 10 หลายเดือนก่อน

    day 74

  • @techpukhraj
    @techpukhraj ปีที่แล้ว

    css me border-radius property kaam nahi kar rha

  • @AirborneMusics3290
    @AirborneMusics3290 ปีที่แล้ว

    Please kivy module par 🤌🤌🤌🤌

  • @surajnalawade2369
    @surajnalawade2369 ปีที่แล้ว

    Harry Bhai Mera vs code ka terminal kaam nahi kr raha mtlb code ko terminal main run krne ke baad terminal blank dikha raha hai

  • @devanshansh8993
    @devanshansh8993 ปีที่แล้ว

    Hii sir

  • @HardiksinhRathod-e7w
    @HardiksinhRathod-e7w ปีที่แล้ว

    can any one help me ..! Run Button in replit is not working
    what is the problem ?

  • @noname99832
    @noname99832 ปีที่แล้ว +1

    Uploading a video in both the channels at the same time..what?

  • @amitkushwaha105k
    @amitkushwaha105k ปีที่แล้ว

    Sir without super ke bhe answer same aa raha hai

  • @faiyazansari9920
    @faiyazansari9920 ปีที่แล้ว

    Hurry bhaiya ek problem h .. problems ye h bhaiya ji ki mai vscode me python ka program or html ka program ..dono hi code kr rkha h.. python ka program run to kr ja rha h but html ka jo program h o nhi run ho rha h plz help me kya kru ki dono hi vs code me hi codding kr sku

    • @iamnnayann
      @iamnnayann 11 หลายเดือนก่อน

      press alt+f4 , then html code will also run, thanks me later 🙏🙏

  • @kashifrashid6107
    @kashifrashid6107 27 วันที่ผ่านมา

    Yqr ya object oriented programming ab bore ho rhi ha yar

  • @paraschauhan9978
    @paraschauhan9978 ปีที่แล้ว

    #day074

  • @satyakam6316
    @satyakam6316 ปีที่แล้ว +1

    Why is he looking like MR BEAST TO ME😆

    • @doodley-wb6uu
      @doodley-wb6uu 3 หลายเดือนก่อน +1

      Because you watch him too much

  • @hridyanshraghav8597
    @hridyanshraghav8597 ปีที่แล้ว

    Mujhe play sound Mein Syntax error show kar raha hai

  • @techpukhraj
    @techpukhraj ปีที่แล้ว

    border-radius kese lagaye vs code me,,,code sahi h par border-radius nahi aa rahi h

    • @faiyazansari9920
      @faiyazansari9920 ปีที่แล้ว

      Border-radius:50%; aishe lgao Bhaiya

    • @techpukhraj
      @techpukhraj ปีที่แล้ว

      @@faiyazansari9920 vs code me nahi aa rahi sab try kar liya

  • @Dekhaman
    @Dekhaman ปีที่แล้ว

    1st 💗👀

  • @techbar000
    @techbar000 ปีที่แล้ว

    hi

  • @chess011
    @chess011 ปีที่แล้ว

    finaly print hello world
    i diserve job in Google 🤣

  • @vdvna9481
    @vdvna9481 6 หลายเดือนก่อน +1

    nhi aaya samajh

    • @KarthikBillava
      @KarthikBillava 5 หลายเดือนก่อน

      If you define a method inside a child class with the same name as a method that is already defined in the parent class; when you call that particular method using the instance of that child class it will execute the method that is defined in the child class rather than the method defined in parent class.

  • @anupamghosh3085
    @anupamghosh3085 ปีที่แล้ว

    abbe yarr code kahe copy karte ho raple se pura code likhkar nahi samajh sakte ho kya Harry Bhai

  • @HACKERCOMMUNITY1
    @HACKERCOMMUNITY1 ปีที่แล้ว +1

    Kikiki and Kiki and

  • @jayasreebhattacharya8015
    @jayasreebhattacharya8015 ปีที่แล้ว

    Sir please reply to my comment because i am confused and so i need your reply

  • @shaon1412
    @shaon1412 ปีที่แล้ว +1

    Day #63 of asking to make a discord server
    Please support the campaign by liking this comment...

  • @viraj1228
    @viraj1228 ปีที่แล้ว

    sir i have sent one mail ,please check 🙏

  • @reddyryals8117
    @reddyryals8117 ปีที่แล้ว

    Do in english

  • @aqibanees4476
    @aqibanees4476 ปีที่แล้ว

    How to use zotero a reference management tool
    th-cam.com/video/Y4qMwd7NMfI/w-d-xo.html

  • @dharvikop
    @dharvikop ปีที่แล้ว

    day 74 done

  • @thegamingsurprises
    @thegamingsurprises 10 หลายเดือนก่อน

    day 74