Lecture 8 : OOPS in Python | Object Oriented Programming | Classes & Objects | Python Full Course

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024
  • This lecture was made with a lot of love❤️
    Notes : drive.google.c...
    ✨ Instagram : / shradhakhapra
    ✨ LinkedIn : / shradha-khapra

Комментарии • 450

  • @gd14444
    @gd14444 7 месяцев назад +142

    Introduction - 00:00
    00:38 - Intro to oops
    05:51 - Class & objects
    11:48 - Constructors
    23:05 - Class & instances attributes
    29:36 - Methods
    33:33 - Revision
    34:43 - Let's practice
    38:46 - Static methods
    42:08 - Abstraction & encapsulation
    49:00 - Let's practice
    56:15 - outro(Next lecture info)

  • @banna_sandipsinh8080
    @banna_sandipsinh8080 22 дня назад +1

    class account:

    def __init__(self,acc_no,bal):
    self.acc = acc_no
    self.bal = bal

    def debit(self,amount):
    self.bal -= amount
    print("debited",amount)
    print("Total balance =",self.get_balance())

    def credit(self,amount):
    self.bal += amount
    print("credited",amount)
    print("Total balance =",self.get_balance())

    def get_balance(self):
    return self.bal


    a1 = account(int(input("account No :-")),int(input("account balance :-")))
    print("Total balance :-",a1.bal)
    print("Account No :-",a1.acc)
    a1.debit(int(input("send to unknown acoount:-")))
    a1.credit(int(input("recive from unknown acoount:-")))

  • @KAU717
    @KAU717 5 месяцев назад +22

    Plz teach us DSA in python

    • @DEwithDhairy
      @DEwithDhairy 4 месяца назад

      Follow my RUclips channel
      Oops in python ( taught real world schenarios)
      ruclips.net/video/-P8y1wBvDqU/видео.htmlsi=ZTdkT63MsaSuj3-5

    • @ankitkumarprajapati8384
      @ankitkumarprajapati8384 2 месяца назад +1

      Yes plz

    • @Idnini
      @Idnini Месяц назад

      Yes please
      ruclips.net/video/P0S5aIBiirw/видео.htmlsi=xYxY7t272-Rnq77r

    • @nazeyasyed4683
      @nazeyasyed4683 16 дней назад

      Haa didi please

    • @nazeyasyed4683
      @nazeyasyed4683 16 дней назад

      Haa didi please

  • @AhmadJutt850
    @AhmadJutt850 3 месяца назад +49

    34:50 Here's a simple and easy code:
    class Student:
    def __init__(self,name,marks1,marks2,marks3):
    self.name=name
    self.marks1=marks1
    self.marks2=marks2
    self.marks3=marks3

    def print_average(self):
    total_marks= self.marks1 +self.marks2 +self.marks3
    average_marks= total_marks / 3
    print("The average marks is:",average_marks)
    s1=Student("Hasan",70,80,87)
    s1.print_average()

    • @romant6866
      @romant6866 2 месяца назад +1

      Same mene Kiya 😅but ma'am ka code bhi smjho ignore na krna

    • @StockBabu-1
      @StockBabu-1 Месяц назад +3

      how many marks you will update? here u have taken only 3 cases consider more number of cases the code shown in video is simpler one

    • @rahulrc2077
      @rahulrc2077 Месяц назад

      its not simple, lists are easier to handle when there can be a chance that multiple marks have to be added in future.
      So the code shown in video is better and yours is just Bruteforce and waste.

  • @IITianAYUXH
    @IITianAYUXH 15 дней назад +1

    At 46:00, ma'am apne brake tho nahi hataya, car chalegi kaise??

  • @DivyYadav-hg2js
    @DivyYadav-hg2js 18 дней назад +1

    maam plz bring a course on data science on apna college website plz will be happy to pay for it

  • @harshit_singh19
    @harshit_singh19 2 месяца назад +11

    We want DSA using Python

  • @adityadas7241
    @adityadas7241 5 месяцев назад +38

    35:24 i think all students should try this code for better uderstanding
    class student:
    def __init__(self,name,marks1,marks2,marks3):
    self.name = name
    self.marks1 = marks1
    self.marks2 = marks2
    self.marks3 = marks3
    def calc_average(self):
    sum = self.marks1 +self.marks2 + self.marks3
    get_avg = sum/3
    return get_avg
    obj = student("Aditya",99,98,97)
    print("hello",obj.name,"your avg marks is ",obj.calc_average())

    • @abhinavkatiyan8923
      @abhinavkatiyan8923 3 месяца назад +1

      class Student():
      def __init__(self,Name,*Marks):
      self.Name=Name
      self.Marks=Marks
      print(f'Welcome {self.Name}')
      def Avg_Marks(self):
      total_marks = 0
      for i in self.Marks:
      for mark in i :
      total_marks += mark # Corrected line for accumulation
      average = total_marks / len(self.Marks)
      return f'{average} This is your Average Marks of all the Subjects'

    • @Starone-x9w
      @Starone-x9w 3 месяца назад

      So what is the output

    • @revenal
      @revenal 3 месяца назад +1

      We try all question and codes

    • @AhmadJutt850
      @AhmadJutt850 3 месяца назад

      that's more easy i think
      class Student:
      def __init__(self,name,marks1,marks2,marks3):
      self.name=name
      self.marks1=marks1
      self.marks2=marks2
      self.marks3=marks3

      def print_average(self):
      total_marks= self.marks1 +self.marks2 +self.marks3
      average_marks= total_marks / 3
      print("The average marks is:",average_marks)
      s1=Student("Hasan",70,80,87)
      s1.print_average()

    • @farhanrasool7371
      @farhanrasool7371 2 месяца назад

      yes i was solved by this when she said puse the video

  • @akhileshghatate4157
    @akhileshghatate4157 2 месяца назад +1

    54:00
    class Account:
    def __init__(self,account_no,balance):
    self.account_no=account_no
    self.balance=balance
    def debit(self,amount):
    if amount > self.balance:
    print("isufficient balance")
    else:
    self.balance = self.balance - amount
    print(f"Amount {amount} debited, new balance:",self.balance)

    def credit(self,amount):
    self.balance=self.balance+amount
    print(f"amount {amount} credited, new balance:",self.balance)

    def get_balance(self):
    print("balance:",self.balance)
    s1=Account(123,10)
    s1.debit(5)
    s1.credit(100)
    s1.get_balance()

  • @premsharma2595
    @premsharma2595 2 месяца назад +6

    00:01 Introduction to Object Oriented Programming in Python
    02:35 Moving from procedural to functional programming and the importance of objects and classes
    06:53 Using classes and objects for practical storage of student information
    08:43 Creating objects and instances in Python
    13:32 Understanding the role of the constructor in Python OOPS
    15:39 Understanding the usage of self and constructor in Python OOPS
    19:19 Attributes are the data stored inside the class and object
    21:05 Understanding Python constructors and classes
    24:51 Self is a reference to the object and instance attributes differ for each object
    26:41 Defining and accessing class attributes in Python
    30:45 Methods are created for classes and used for objects.
    32:43 Creating and using methods and constructors in Python classes
    37:02 Understanding methods in Python classes
    39:32 Static methods in Python do not have a 'self' parameter and work at the class level.
    43:20 Abstraction in OOP hides unnecessary details, shows only essential things.
    45:21 Understanding the sequence to start a car in OOPS in Python
    49:27 Creating an Account class with balance and account number
    51:58 Understanding debit and credit methods in Python OOP
    56:20 Covered concepts like inheritance, polymorphism, and private entities

  • @rishalo7246
    @rishalo7246 5 месяцев назад +1

    Kyu nhi ho rahi padhai ab samj aya 😅 yaha ake comments read kr raha h be chup chap padhle nahi to beta tu bi 75% berozgaar engeeners m aa jayega😂😂

  • @nervus0011
    @nervus0011 7 месяцев назад +3

    C++ bhi sikha dho didi 🐾

  • @ishratsheikh3041
    @ishratsheikh3041 4 месяца назад +3

    We want advance python series

    • @pros.gamerz.1272
      @pros.gamerz.1272 4 месяца назад

      matlab ye puri series sikhne ke bad aap advance nahi hote kya python me??

    • @ishratsheikh3041
      @ishratsheikh3041 4 месяца назад

      Advance tk to phda diya gya hai

    • @ishratsheikh3041
      @ishratsheikh3041 4 месяца назад

      Tmhare sare topics to complete ho jaaige

  • @ramrayapati
    @ramrayapati 7 месяцев назад +1

    Mam could you please explain in English mam

  • @nareshkatla1135
    @nareshkatla1135 2 месяца назад +4

    Just started watching your videos and fell in love with the way of teaching ...You look like a student but explanation is amazing

  • @bhavesh-kumar-444
    @bhavesh-kumar-444 7 месяцев назад +3

    I am first

  • @chaplessgaming4022
    @chaplessgaming4022 26 дней назад +2

    MUJHE AJ ACHA SE PATA CHAL GAYA KI DIDI IRON MAN KA BOHAT BADA FAN HAI

  • @maliksajjadrizvi
    @maliksajjadrizvi 4 месяца назад

    I'm watching from Pakistan . Mam, i want to talk to you about this.

  • @balramnaik370
    @balramnaik370 3 месяца назад +2

    I Love you Mam

  • @joshia_himanshu2004
    @joshia_himanshu2004 3 месяца назад +2

    35.16
    class Student:
    def __init__(self,name,marks):
    self.name = name
    self.marks = marks
    def get_avg(self):
    return sum(self.marks)/len(self.marks)

    s1 = Student("Himanshu",[45,89,98])
    print("Hi student,",s1.name,"your avg score is ", s1.get_avg())

  • @FunTeenDev
    @FunTeenDev 7 месяцев назад +39

    You teach better than my College Teacher so please serve good things among future generation. Thank you.
    Your Student.

    • @ANISUR_RAHMAN2024
      @ANISUR_RAHMAN2024 7 месяцев назад +2

      exactly bro. She is better than our college teachers.

    • @Print121
      @Print121 7 месяцев назад

      Next topic kb tkk ayega

  • @teclues3893
    @teclues3893 Месяц назад +3

    didi's dialogue "as such"

  • @ishastudies8589
    @ishastudies8589 7 месяцев назад +2

    Didi kuch project ke bhi tutorial upload kar do java script me😊😊

  • @KonadasambaPrasadReddy
    @KonadasambaPrasadReddy Месяц назад +1

    Try to teach in English 🥺

  • @akart523
    @akart523 7 месяцев назад +3

    Hi didi mai class 8 ka student hoon aur mai aapki tarah banna chahta hoon Shradha didi kya ye last chapter hai please reply jaroor kariyega 😢🙏🏼🙏🏼

    • @ShadowKing010
      @ShadowKing010 6 месяцев назад

      Itni jaldi coding Seekh ke kya karega mamu

    • @ShadowKing010
      @ShadowKing010 6 месяцев назад

      Baro ki job lagegi ki nahi pata nahi
      Devin chacha jo aa gaye hai

  • @frontback4574
    @frontback4574 7 месяцев назад +2

    Plj project bhi Kara dain koi python ka jis Mai ye sari cheejain use horahi hon

  • @dpyagnik
    @dpyagnik 3 месяца назад +1

    34:50
    # try this and thank me later :)
    class Eleventh:
    marks = 0
    def __init__(self, name, mark):
    self.name = name
    self.marks = mark
    def Check_average(self):
    i = 0
    added = 0
    while i < len(self.marks):
    added = added + self.marks[i]
    i+=1
    return added/i
    marks = []
    s1 = Eleventh("Devarsh", marks)
    i = 1
    while i > 0:
    i = (int(input("Enter Your Marks(Enter a negative value to stop): ")))
    if(i > 0):
    marks.append(i)
    else:
    break
    print(s1.Check_average())

  • @VedantEarly-pq1mm
    @VedantEarly-pq1mm 5 месяцев назад +1

    54:20 please someone explained me what does mean by
    self.balance -= amount
    My question is why that minus sign is at LHS rather than RHS. 🙏🙏

  • @vaish05330
    @vaish05330 7 месяцев назад +1

    plz di make Ml playlist i beg u

  • @Md.Fuzail
    @Md.Fuzail Месяц назад +1

    DSA or OOP me kya different hai..?

  • @AmazingDealsLoots
    @AmazingDealsLoots 7 месяцев назад +3

    Today I am first 🔥

  • @Saroj-j9y6h
    @Saroj-j9y6h День назад

    Thank you this awesome video.
    I believe that if we define two constructors (__init__ methods) in a single class, we will encounter an error because Python does not support method overloading. In this case, Python will only recognize the last defined constructor and will raise an error if the parameters do not match.

  • @fyit_61_owaishmarediya12
    @fyit_61_owaishmarediya12 7 месяцев назад +2

    Didi Please Make A Playlist Design Pattern In JAVA

  • @Ritesh.s
    @Ritesh.s 2 месяца назад

    Why shraddha didi is calling it OOPS actually it is OOP object oriented programming

  • @pateljaimin8561
    @pateljaimin8561 4 дня назад

    Could you please also make a lecture video of closure, generators, decorators and hash..... Please .

  • @ishantDubey-jt4fu
    @ishantDubey-jt4fu 7 месяцев назад +1

    Didi plz jaldi jaldi video upload kiya karo paper hone wale hai

  • @Gulfam-o7k
    @Gulfam-o7k 7 месяцев назад +2

    Didi iss course ke baad DSA start kerna

  • @Khu_singh3637
    @Khu_singh3637 6 месяцев назад +1

    Mam aapne Microsoft se job kyu chhod di? Any reason?

  • @a-oneshayar7376
    @a-oneshayar7376 7 месяцев назад +2

    Kya project bhi hone wale h iss course me didi????????

  • @realdevanshbajpai
    @realdevanshbajpai 2 месяца назад

    # Here's my solution to 50:00
    import random
    acc_no_data = []
    class Account:
    def __init__(self, balance=100):
    self.balance = balance
    check = True
    while check == True:
    mock_ac_no = random.randint(1000000, 9999999)
    if mock_ac_no not in acc_no_data:
    acc_no_data.append(mock_ac_no)
    self.acc_no = mock_ac_no
    check = False

    def debit(self, amount):
    if self.balance >= amount:
    self.balance -= amount
    else:
    print('insufficient funds')

    def credit(self, amount):
    self.balance += amount
    def get_balance(self):
    print('your current balance is', self.balance)

  • @lk1470
    @lk1470 7 месяцев назад +12

    #c or c++ is next topic 😊😊... Love alot ❤❤❤ classes whith hv good content obj

  • @Jafilkhan.
    @Jafilkhan. 7 месяцев назад +193

    Yaar mera comment Famous kyun nhi hota

    • @Biisal-ai
      @Biisal-ai 7 месяцев назад +14

      Haan kaam to h nhi..

    • @Jafilkhan.
      @Jafilkhan. 7 месяцев назад +3

      @@Biisal-ai kon h tu

    • @imperialclassesrajura6870
      @imperialclassesrajura6870 7 месяцев назад +1

      Next topic ka video ane me bahut time lag raha

    • @DEEPAKKUMAR-c2j5i
      @DEEPAKKUMAR-c2j5i 7 месяцев назад +4

      Achi Sakal ki bat hoti h jiski hoti h sirf usi ka comment hota h famous

    • @uttambarve9425
      @uttambarve9425 7 месяцев назад +2

      Pdle Bhai Ese Job nhi milengi

  • @FoodMania907
    @FoodMania907 7 месяцев назад +1

    Please upload Python projects also where I can able to work on and upload next lecture in python also.

  • @pranavpatil1053
    @pranavpatil1053 13 дней назад

    Mam operator overloading and overriding ka lecture lao pls 27 se exam hai

  • @AkankshaSharma-j5u
    @AkankshaSharma-j5u 10 дней назад

    Are these 9 Chapters of Python enough to crack interview as a fresher

  • @CapricornHari
    @CapricornHari 20 дней назад

    Sister make sure cover the video in english we won't understand hindii

  • @namaljutt6528
    @namaljutt6528 7 месяцев назад +2

    Maim please upload node js tutorial

  • @jayvaru9706
    @jayvaru9706 7 месяцев назад +9

    Hello didi❤

  • @udaygawande104
    @udaygawande104 7 месяцев назад +12

    I needed this video ❤.. Thank you so much ma'am❤ .. Means a lot 💕🙏🏻🥺

  • @HamzajavaidJavaidIqbal
    @HamzajavaidJavaidIqbal 7 месяцев назад +2

    Is there any other video of oops coming
    Thank you

  • @kuldeepsikarwar6613
    @kuldeepsikarwar6613 7 месяцев назад +1

    Medam ji jis name se class banate hai to ushka object ushi name se hota hai ya name koi alaga de sakte hai
    Reply jarur karna

    • @lifefact8398
      @lifefact8398 7 месяцев назад

      we can give any name (as we want) to the object using naming rules.

  • @gt_shades9526
    @gt_shades9526 5 месяцев назад +9

    Thanks a lot to Apna college for delivering such a valuable series and that to in very concise manner.

  • @funofcricket_
    @funofcricket_ 4 месяца назад

    Create Video On Modules and Packeges in python

  • @funofcricket_
    @funofcricket_ 4 месяца назад

    Create Video On Modules and Packeges in python

  • @funofcricket_
    @funofcricket_ 4 месяца назад

    Create Video On Modules and Packeges in python

  • @funofcricket_
    @funofcricket_ 4 месяца назад

    Create Video On Modules and Packeges in python

  • @funofcricket_
    @funofcricket_ 4 месяца назад

    Create Video On Modules and Packeges in python

  • @funofcricket_
    @funofcricket_ 4 месяца назад

    Create Video On Modules and Packeges in python

  • @funofcricket_
    @funofcricket_ 4 месяца назад

    Create Video On Modules and Packeges in python

  • @funofcricket_
    @funofcricket_ 4 месяца назад

    Create Video On Modules and Packeges in python

  • @funofcricket_
    @funofcricket_ 4 месяца назад

    Create Video On Modules and Packeges in python

  • @funofcricket_
    @funofcricket_ 4 месяца назад

    Create Video On Modules and Packeges in python

  • @funofcricket_
    @funofcricket_ 4 месяца назад

    Create Video On Modules and Packeges in python

  • @funofcricket_
    @funofcricket_ 4 месяца назад

    Create Video On Modules and Packeges in python

  • @revenal
    @revenal 3 месяца назад +1

    Advanced python ka video lao

  • @VanditBuch
    @VanditBuch 7 месяцев назад +20

    Everyone who wants next series on C#... Like thoko

  • @CrazyManbypuspendra
    @CrazyManbypuspendra 7 месяцев назад +35

    Didi aap itne acche se padhate ho
    Ek baar main sab kuch clear ho jata hai ❤❤

  • @tonds0001
    @tonds0001 7 месяцев назад +2

    Are ❤ jaldi sab lecture upload kar ke public karo na please 🥺

  • @shivkumargaming
    @shivkumargaming 7 месяцев назад +3

    Love you mam❤

    • @FunTeenDev
      @FunTeenDev 7 месяцев назад

      I wish your dream will become true.

  • @shivammahajan6647
    @shivammahajan6647 4 месяца назад

    Aage video kaafi lmbi chli gyi...nice explanation till method 💕

  • @arnab30dutta
    @arnab30dutta 3 месяца назад +1

    @shradhaKD
    What is the setup used in making this video? kindly mention :
    *a)* how a portion of screen shows you in below right corner *b)* are you using any screen recording software?
    *c)* are you using any specific software where hand drawn circle changes to a nice circle automatically ? *d)* are you using iPad ? *e)* how r u mirroring iPad on Laptop screen ?...etc
    - I shall be obliged and grateful if you kindly share all those details please. Thanks ahead 🙏

  • @garimasingh5469
    @garimasingh5469 Месяц назад

    Please django ka bhi ek complete tutorial video daal dijiye .

  • @priyanshsuthar5861
    @priyanshsuthar5861 7 месяцев назад +3

    👋

  • @Dark-ch2zp
    @Dark-ch2zp Месяц назад

    Like if u completed this series in 1 day......

  • @Krishna-ez1xy
    @Krishna-ez1xy Месяц назад

    shraddha didi ne aman bhai ke bal chote kar diya ab hero lagte hai aman bhai shadi se pehle warna bade bade baal rKHTE THE LAMBE

  • @CODEinAI1102
    @CODEinAI1102 2 месяца назад

    Pandas, matplotlib,numpy inka bhi videos bnaiye pls

  • @anikanik1832
    @anikanik1832 22 дня назад +1

    dsa in python please

  • @mayankkumar6628
    @mayankkumar6628 6 месяцев назад +1

    DIDI ISKE PART THODE AUR FREQUENTLY PUSH KARO AAP

  • @YONAnYONA
    @YONAnYONA 6 месяцев назад +2

    Hi Didi, I searched many videos to understand about classes but your video about OOPS helped me alot to understand the concept and the coding part. watching this Video I tried writing below code which is slight different from yours.
    I got a doubt that you used loop for calculating and reading average. I agree we can write coding as we like but just wanted to know if there is any specific reason to it you choose loops.
    class Student:
    def __init__ (self, name, marks):
    self.name= name
    self.marks= marks
    def average (self):
    average= sum(self.marks)/len(self.marks)
    print("Average of",s1.name,"is", average)
    s1=Student("Karan",[25,36,42])
    s1.average()
    s2=Student("Manoj",[96,82,89])
    s2.average()

  • @MadihaFaraz-s3e
    @MadihaFaraz-s3e Месяц назад

    class Student:
    name = "abc"
    s1 = Student()
    print(s1.name)
    i have try this code but its not run.how????
    error is Student is not defined
    plzzz helpp....

  • @Ritesh.s
    @Ritesh.s 2 месяца назад

    Why it is OOPS? and not OOP. Actually it's OOP not OOPS

  • @sahilpandat.g3748
    @sahilpandat.g3748 7 месяцев назад +1

    Watint for this and pandas thoda jyada ache se samjhana di or mind m set shi se kase kare sabhi

  • @ManishKumar-cw2eo
    @ManishKumar-cw2eo 5 месяцев назад +1

    Kya isme pura basic se oops ho jayega ??? Please koi btaye

  • @shashi372
    @shashi372 7 месяцев назад +2

    "Shrada "mam explain machine learning.

  • @anasayyub3325
    @anasayyub3325 2 месяца назад

    import random
    def play_game():
    choices = ["rock", "paper", "scissors"]
    computer = random.choice(choices)
    user = input("Enter your choice (rock, paper, scissors): ").lower()
    while user not in choices:
    user = input("Invalid input. Enter your choice (rock, paper, scissors): ").lower()
    print("Computer chose:", computer)
    if user == computer:
    print("It's a tie!")
    elif (user == "rock" and computer == "scissors") or (user == "scissors" and computer == "paper") or (user == "paper" and computer == "rock"):
    print("You win!")
    else:
    print("You lose!")
    play_game()

  • @arkcoder9925
    @arkcoder9925 25 дней назад

    46:14 mam gear to daal dijiye uske bina to gadi hi start nhi hogi

  • @arkcoder9925
    @arkcoder9925 25 дней назад

    46:14 mam gear to daal dijiye uske bina to gadi hi start nhi hogi

  • @S_K_J
    @S_K_J 2 месяца назад

    class Student:
    def __init__(self, name, mark1, mark2, mark3):
    self.name = name
    self.mark1 = mark1
    self.mark2 = mark2
    self.mark3 = mark3
    def print_average(self):
    average = (self.mark1 + self.mark2 + self.mark3) / 3
    print(""The average mark for", {self.name}," is:", average)
    name = input("Enter the student's name: ")
    mark1 = float(input("Enter the mark for subject 1: "))
    mark2 = float(input("Enter the mark for subject 2: "))
    mark3 = float(input("Enter the mark for subject 3: "))
    student = Student(name, mark1, mark2, mark3)
    student.print_average( )

  • @varshinimg1049
    @varshinimg1049 3 месяца назад

    Where should I get best python DSA if anybody knows plz drop a reply...

  • @arkcoder9925
    @arkcoder9925 25 дней назад

    46:14 mam gear to daal dijiye uske bina to gadi hi start nhi hogi

  • @Mishalnadeem1122
    @Mishalnadeem1122 7 месяцев назад +1

    Sharadha didi please typescript py video b bnao

  • @thinkoutofbox7985
    @thinkoutofbox7985 7 месяцев назад +5

    thanks di......
    i was waiting for this lecture to come soonn.....

  • @kitsamrita6899
    @kitsamrita6899 18 дней назад +1

    Jada difficult bana diya

  • @arkcoder9925
    @arkcoder9925 25 дней назад

    mam gear to daal dijiye uske bina to gadi hi start nhi hogi

  • @arkcoder9925
    @arkcoder9925 25 дней назад

    mam gear to daal dijiye uske bina to gadi hi start nhi hogi

  • @jhanturana3993
    @jhanturana3993 4 месяца назад

    Please upload the next topic of python 😔

  • @anilmudshinge315
    @anilmudshinge315 3 месяца назад

    Mam please share the source code for all programs

  • @SuperJajati
    @SuperJajati 5 дней назад

    Nice example of car. Great mam.❤

  • @priyambadajena2402
    @priyambadajena2402 6 месяцев назад

    For the first practice coe when i tried, why the o/p is printing 3 times for me 🙄
    Hi priya your avg score is: 33.0
    Hi priya your avg score is: 65.66666666666667
    Hi priya your avg score is: 98.0

  • @jayshreeSonawane-y9q
    @jayshreeSonawane-y9q Месяц назад

    35:24
    class Avg:
    def __init__(self,name,sub1,sub2,sub3):
    self.name = name
    self.sub1 = sub1
    self.sub2 = sub2
    self.sub3 = sub3
    def average(self):
    print((self.sub1+self.sub2+self.sub3)/3)
    s1 = Avg("Om patil",90,90,90)
    s1.average()