I am having trouble with a list that doesn't want to append like they normally do. I have been messing around with it for the last couple of days off and on. For the life of me I can't seem to figure out what I am doing wrong.
n=range(0,31)
x=[]
for x in n:
AL=5000.00
MM=[]
MM_Income=12000.00
MM_Cost=8000.00
MM_Inc=800.00
MM_Own=11
MM_ROI=(MM_Income/(MM_Cost+(MM_Inc*x)+AL)*100)
MM.append(MM_ROI)
print (MM_ROI)
MML=zip(n,MM)
print (MML)
Rather than giving me a list, I am only getting the last figure.
Any help or ideas would be greatly appreciated. Oh yeah, I already tried using .extend instead of .append and python threw up some errors.