Advertisement
Dprogrammed1

python que 29

Jun 10th, 2019
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.10 KB | None | 0 0
  1. class A():
  2.     def disp(self):
  3.         print("A disp()")
  4. class B(A):
  5.     pass
  6. obj = B()
  7. obj.disp()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement