1class calc:
2 def __init__(self,num):
3 self.num = num
4 def __add__(self,other):
5 #inner code
6 def __mul__(self, other):
7 #inner code
8 def __sub__(self, other):
9 #inner code
10 def __div__(self,other):
11 #inner code
12 # and so on for features
13