Very new to python but I want to store each list generated from each time the loop runs the code again so I can use them in later parts of my code.
i = 1
while i <= 5:
units = input("Insert Units Sold: ")
rev = input("Insert Revenue of Sale: ")
revper = round((int(rev) / int(units)))
print("Revenue per unit: " + str(revper))
cogs = (3 * int(units))
print("Cost of Goods Sold: " + str(cogs))
profit = (int(rev) - (cogs))
print("Profit: " + str(profit))
profitper = round((profit / int(units)))
print("Profit per Unit: " + str(profitper))
L1 = [int(units), int(rev), revper, cogs, profit, profitper]
print("Line " + str(i) + str(L1))
i = i + 1