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
isPythagorasTriplet.py
Hi.py
hi
Game4
Z Pattern ( first python program)
Skillenza Common subjects
HW Descending order Insertion Sort
Yyy
Prac
ct