OOP Exercise 3 Solution : Python tutorial 193

Guys please help this channel to reach 20,000 subscribers. I’ll keep uploading quality content for you.

Python is easy programming language to learn and anyone can learn it, and these tutorials are 100% free in hindi.

You can share this playlist with your brother, sisters and friends. This will surely add some values to their life.

Complete Playlist link –

If you follow this complete playlist of python tutorial…

, , , , ,

5 thoughts on “OOP Exercise 3 Solution : Python tutorial 193

  1. this means class level variables by default static hote hain…if you are from java background then you may understand this….and if you want to make that static variable instance level, then use the self. keyword inside the constructor or any other methods inside that class

  2. Mr. Vashisth would you tell me the answer?
    Why laptop class call automatically by running below code?

    class Person:


    print("This is Persong class")

    def __init__(self):

    Person.count += 1

    class Laptop:


    print("This is Laptop Class")

    def __init__(self):

    Laptop.count += 1





Leave a Reply

Your email address will not be published. Required fields are marked *