In [3]:
mi= [14574.49, 7606.46, 8611.41, 9175.41, 8058.65, 8105.44, 11496.28, 9766.09, 10305.32, 14379.96, 10713.97, 15433.50]
me = [12051.82, 5695.07, 12319.20, 12089.72, 8658.57, 840.20, 3285.73, 5821.12, 6976.93, 16618.61, 10054.37, 3803.96]
In [4]:
mi
Out[4]:
In [5]:
me
Out[5]:
In [29]:
mp=mi-me
In [6]:
mp=list([])
In [31]:
mp
Out[31]:
In [7]:
for i in range(0,len(mi)):
mp.append(mi[i]-me[i])
In [34]:
mp
Out[34]:
In [39]:
mpro=mi.copy()
In [40]:
for i in range(0,len(mi)):
mpro[i]=mi[i]-me[i]
In [41]:
mpro
Out[41]:
In [20]:
mpt=list([])
profit after tax for each month (the tax rate is 30%)¶
In [21]:
for i in range(0,len(mp)):
mpt.append(mp[i]-mp[i]* 0.3)
In [22]:
mpt
Out[22]:
In [13]:
mpt
Out[13]:
In [14]:
mpat=list([])
In [15]:
for i in range(0,len(mp)):
mpat.append(mp[i]-mpt[i])
In [16]:
mpat
Out[16]:
In [23]:
mp
Out[23]:
In [24]:
mpat
Out[24]:
No comments:
Post a Comment