Advertisement
Alx09

Untitled

Apr 8th, 2022
972
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.30 KB | None | 0 0
  1. class C1:
  2.   def setX(self, x):
  3.         self.x = x
  4. class C2(C1):
  5.     def setY(self, y):
  6.         self.y = y
  7. class C4(C2):
  8.     def setZ(self, z):
  9.         self.z = z
  10. class C5(C2):
  11.     def setW(self, w):
  12.         self.w = w
  13. class C3(C5):
  14.     def setNume(self, nume):
  15.         self.nume = nume
  16.    
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement