Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
abstract base class
#python 3.5.2 from abc import ABCMeta,abstractmethod class shape(metaclass=ABCMeta): def printarea(self): return 0 class mani(shape): def __init__(self): self.length=15 self.breadth=3 def printarea(self): area=(self.length*self.breadth) print(area)
run
|
edit
|
history
|
help
0
π―π―π―π―π―π―π―π½Guess the number π½π―π―π―π―π―π―π―
Removing adjacent duplicates from string
Loop
Insertion Sort
Factorial number using recursion
Array
BubbleSort
line 4
My webapp demo
display age