Operator Overloading in Python | Polymorphism | Python Tutorials for Beginners

Поділитися
Вставка
  • Опубліковано 1 гру 2024

КОМЕНТАРІ • 83

  • @shatmanyugupta
    @shatmanyugupta Рік тому +20

    Have watched your videos in my BTech , passed with 1st division , now switching companies and here i am again , Thanks mam for all your efforts putting those concepts in a very lucid manner.

  • @u.aphrodis2175
    @u.aphrodis2175 Рік тому +10

    Hi, Jenny🤗🤗 I'm your student from Rwanda. You save my time, I don't run around trying to understand concept all I need is to directly jump inside your class. Thank you for your support. When we meet I'll buy you a coffee. "fun fact, you look us like we have refused to submit homework🤭🤭🤭"

  • @ananthu4141
    @ananthu4141 4 місяці тому +3

    return str(int(self.real + other.real)) + " + " + str(int(self.image + other.image)) + "i"

  • @srinivasrao8016
    @srinivasrao8016 5 місяців тому

    This is called clear cut explanation. TQ. I will go through all the videos. It is depth leacture.

  • @masudsarrowar
    @masudsarrowar Рік тому +7

    Great Ma'am. Please make a playlist on Java.

  • @DesuSuhithaReddy
    @DesuSuhithaReddy 9 місяців тому +3

    if p1.age>p2.age:
    print(f"{p1.name} will pay the bill")
    else:
    print(f"{p2.name} will pay the bill") without operator overloading we can write like this mam

  • @Ummehani-e5m
    @Ummehani-e5m Рік тому +3

    Great mam,U are teaching very nice and we are getting a good Knowledge

  • @nitheeshaboggavarapu9302
    @nitheeshaboggavarapu9302 Рік тому +6

    Ma'am, could you create a playlist about full-stack development? It'll benefit everyone.

  • @ashishvasava8265
    @ashishvasava8265 Рік тому +4

    Super Teaching 🎉🎉🎉

  • @pkmotivation203
    @pkmotivation203 Рік тому +1

    “ज़िन्दगी तो सभी के लिए एक जैसी है ! 🙌☀️
    फ़र्क सिर्फ इतना है कि कोई दिल से जी रहा है
    तो कोई दिल रखने के लिए जी रहा है !! 🙂😉” 🙃😊🤗💐

    • @nidhibhatia5837
      @nidhibhatia5837 Рік тому +1

      Bhai tu kitna gyan deta hai maza aa gaya😂😂

    • @pkmotivation203
      @pkmotivation203 Рік тому

      @@nidhibhatia5837 सच बात तो यह है की जो परेशानी से गुजरकर आता है उसे पता होता है की परेशानी कहा से आएगी
      और मै तो परेशानी का घर हू एक जाति है दूसरी तैयार खड़ी होती है
      सिर्फ पहली के जाने की देर होती हो

  • @Nothing-78646
    @Nothing-78646 3 місяці тому

    really helpfull mam.........thank you so much.........student from Pakistan

  • @sudheervennapu309
    @sudheervennapu309 Рік тому +1

    Thanks Jenny Mam for your efforts

  • @butterflyworld5693
    @butterflyworld5693 Рік тому +2

    Please make a video on exception handling i think that is the most important...

  • @vamshitwilight1012
    @vamshitwilight1012 Рік тому +2

    This is a great video madam

  • @amazingstorymaker9728
    @amazingstorymaker9728 Рік тому +3

    Excellent

  • @AmarSingh-pf3mq
    @AmarSingh-pf3mq 4 місяці тому

    wonderful teaching skills

  • @Manpreet_saini696
    @Manpreet_saini696 Рік тому +1

    Thank you mam for teaching advance python

  • @sudheernani143
    @sudheernani143 Рік тому +1

    This is a very good video

  • @bheem05
    @bheem05 Рік тому +1

    The video is fantastic

  • @SidharthNaik11
    @SidharthNaik11 6 місяців тому

    Thanks for the good explanation!!😊

  • @ebubechukwuuchechukwu6018
    @ebubechukwuuchechukwu6018 7 днів тому

    class ComplexNumber:
    def __init__(self,r,c):
    self.real = r
    self.imaginary = c
    def __add__(self, other):
    return (str(self.real + other.real) + ' + '+
    str(self.imaginary + other.imaginary) + 'i')
    c1 = ComplexNumber(1,2)
    c2 = ComplexNumber(3,4)
    print(c1+c2)

  • @Prkshashank7676
    @Prkshashank7676 Рік тому +1

    Jenny make these videos as a playlist so we beginners can learn watching one by one

    • @JennyslecturesCSIT
      @JennyslecturesCSIT  Рік тому +2

      These are already in playlist...u please check out python playlist

    • @Prkshashank7676
      @Prkshashank7676 Рік тому +1

      @@JennyslecturesCSIT yes but Jenny 106 videos are in the playlist but previous 2 videos i:e today's and the previous one is not in the playlist please check it and thanks for your videos it helps a lot 💗

    • @JennyslecturesCSIT
      @JennyslecturesCSIT  Рік тому

      Is it so...okay I will check and add these too

    • @Prkshashank7676
      @Prkshashank7676 Рік тому

      @@JennyslecturesCSIT tqq so much keep making videos more and more like this

  • @Marvelkashmir
    @Marvelkashmir Рік тому +6

    Mam JAVA please ❤❤❤❤

  • @FARMHOUSE_GANGSTERS
    @FARMHOUSE_GANGSTERS Рік тому +1

    Nice explanation ❤ mam

  • @Laylavybez
    @Laylavybez Рік тому +1

    Thank you so much for this, it helped a lot.
    However, i used the following code for the operational overload and it ran, i thought i should share, is there any limitation to this code?
    class Player:
    def __init__(self, name, age):
    self.name = name
    self.age = age
    #This is the code i am referring to
    def __gt__(self, other):
    if p1.age > p2.age:
    return True
    else:
    return False
    #ends here
    p1 = Player("Ahmad", 45)
    p2 = Player("Layla", 40)
    if p1 > p2:
    print(f"{p1.name} will pay the bill")
    else:
    print(f"{p2.name} will pay the bill")

  • @rahulranjan8682
    @rahulranjan8682 9 місяців тому

    great explanation!

  • @yasothakarthikeyan9604
    @yasothakarthikeyan9604 Рік тому +1

    Mam plz teach Dijiktra algm , travelling salesman using backtrack, 0/1 knapsack, 8 queens pblm using backtrack,sum of subset problem using backtrack all are wanted in C++ program coding
    Mam plz reply

  • @vikneshswag1151
    @vikneshswag1151 3 місяці тому

    Hi Jenny, I think you watched Telusko Channel for this . Anyway In Telusko channel this concept is not clear but you explained well. Thank You

  • @layphyuhein9494
    @layphyuhein9494 Рік тому +1

    Please explain Quadratic Assignment Problem in C Programming

  • @AquaGamer777
    @AquaGamer777 10 місяців тому

    WE CAN ALSO DO LIKE THIS
    class Person:
    def __init__(self, name, age):
    self.name = name
    self.age = age
    p1 = Person('Ram', 32)
    p2 = Person('Shyam', 23)
    if p1.age > p2.age:
    print(f'{p1.name} will pay the bill')
    else:
    print(f'{p2.name} will pay the bill')

  • @a2zvlogs389
    @a2zvlogs389 Рік тому

    Just awesome 👌

  • @Harry-dd5ci
    @Harry-dd5ci Рік тому +1

    Areeeee mam aaaap mane 12th complete kar liye hai, Mam muje cybersecurity me Jana hai and for that I am learning Networking right now, Can you please suggest me, Is there any complex mathematical stuff is involved or not in Cybersecurity

  • @nikhildhakad2902
    @nikhildhakad2902 Рік тому

    Mam please make the lengthy session and completed it as soon as

  • @pkmotivation203
    @pkmotivation203 Рік тому

    तेरे खिलाफ़ क्या तूफ़ान, 💐
    क्या आँधी और क्या सूनामी करेंगे … 🌻😊
    आज बाधा बनके जो खड़े हैं, 🙂
    कल तुझे ये सलामी करेंगे … 🌻🌷
    प्रवीन कुमार

  • @Aptilover
    @Aptilover Рік тому +1

    Mam make a tutorial on js

  • @SirishAllam
    @SirishAllam Рік тому

    Thank you but do in the system and that can help very much madam also madam for more clarification

  • @rameeskv-qu2ib
    @rameeskv-qu2ib Рік тому +1

    What if when 3 argument passed

  • @ravadarajasehkar5497
    @ravadarajasehkar5497 Рік тому

    Mam ,plz suggest me the best book (or website)to learn python

  • @ashishvasava8265
    @ashishvasava8265 Рік тому +1

    😮😮😮

  • @junaidanwer9456
    @junaidanwer9456 Рік тому +1

    why i am watching this video 😄😄😄

  • @telugutejassu5376
    @telugutejassu5376 Рік тому +2

    Please change your spectacles

    • @srivatsak1877
      @srivatsak1877 Рік тому +1

      I guess you're supposed to concentrate on what she's teaching!!

  • @SimranBhardwaj-pz7od
    @SimranBhardwaj-pz7od Рік тому

    Mam please complete c++ course too

  • @harshpandey6618
    @harshpandey6618 Рік тому

    ❤❤

  • @siddharthtiwari4546
    @siddharthtiwari4546 Рік тому

    Mam Pls teach in my Clg also , Students will enjoy ur teaching

  • @sagarsajjan4119
    @sagarsajjan4119 Рік тому

    Mam in how many days python get fully complete ??

    • @swagprincess5547
      @swagprincess5547 Рік тому

      If you put hard word you will finish in 30 days also🤝💥

  • @letslearnwithtogether595
    @letslearnwithtogether595 Рік тому +1

    Ma'am, When will u start JAVA ?

    • @JennyslecturesCSIT
      @JennyslecturesCSIT  Рік тому +1

      Haven't planned yet

    • @letslearnwithtogether595
      @letslearnwithtogether595 Рік тому

      @@JennyslecturesCSIT The way u teach coding no one is able to teach in world 🌎. That's why we hope u will teach JAVA as well . Thank u !

  • @kalepatil-cv5ly
    @kalepatil-cv5ly Рік тому

    how many lectures left mam from this viedo....

  • @reignsgaming07
    @reignsgaming07 Рік тому +1

    Aap pc pe practical krke btaya kro

  • @Helinsalih-rm5iw
    @Helinsalih-rm5iw 3 місяці тому

    thank youuuuu🤍

  • @PraneshGangarapu
    @PraneshGangarapu 7 місяців тому

    Write code in cpp language only

  • @SAIHACKS-s3i
    @SAIHACKS-s3i Рік тому

    Mam love you so much mam

  • @coding_with_bf
    @coding_with_bf Рік тому

    It's needed to go to white board for good understanding 😢😢😢😢

  • @shivakrishna_varma9658
    @shivakrishna_varma9658 2 місяці тому

    "1"+"2"="12"

  • @leonelmessi7897
    @leonelmessi7897 8 місяців тому

    Not understanding mam😢😢😢

  • @AdityaSingh-ho2kk
    @AdityaSingh-ho2kk Рік тому

    12

  • @srgokhle
    @srgokhle Рік тому

    Don't try to =

  • @jaihindh609
    @jaihindh609 Рік тому +1

    I love you madam❤❤❤❤❤❤❤❤❤❤

  • @DeadlyMan80
    @DeadlyMan80 Рік тому

    Hindi me lecture lete to maja aaja ta hum bhi subscribe kar lete 😒

  • @benugopalkanjilal2567
    @benugopalkanjilal2567 3 місяці тому

    "1212"

  • @mastercheif3029
    @mastercheif3029 8 місяців тому

    You're beautiful.

  • @babamusic8538
    @babamusic8538 Рік тому +1

    Mam speak slow

  • @veereshvastrad3501
    @veereshvastrad3501 Рік тому

    Cutie pie Jenny mam

  • @SelvaNidharshana
    @SelvaNidharshana 9 місяців тому

    12

  • @ronogaming2453
    @ronogaming2453 4 місяці тому

    12

  • @Dancing67-gi5su
    @Dancing67-gi5su 2 місяці тому

    12

  • @sonufazi8977
    @sonufazi8977 Місяць тому

    12