Run Code
|
API
|
Code Wall
|
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
Chim
homework1
IP Networks splitting calculator
delta5
Range List for Python
Python mehrfachvererbung
Circular progress bar tkinter
Pawan 1
PyDataDescript
Janvi