Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
abstractmethod
#python 3.5.2 from abc import ABCMeta,abstractmethod class shape(metaclass=ABCMeta): @abstractmethod def printarea(self): return 0 class mani(shape): def __init__(self): self.length=15 self.breadth=3 def printarea(self): return self.length*self.breadth am=mani() print(am.printarea())
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
wordchangething
PyDataDescript
inverse matrix gauss jordan
PyRegBackRef
Lesson6 part b
PyClosure
Ns
RANDOM NUMBER
h
PyList
Please log in to post a comment.