1harshit234 / basic-program

0 stars 0 forks source link

more pracctisce #19

Open 1harshit234 opened 3 months ago

1harshit234 commented 3 months ago

class person: def init(self,name): self.name = name

def c(self): print("i love my india")

class ladka: def init(self,g): self.g = g

class she(person,ladka): def init(self,name,h,g):

self.h = h

def c(self): print("i love")

a = she("name","hha","as") a.c() print(she.mro())