Thread shed task 9

Hi,

the code is not cleaning the list properly, there is another empty list […] and I dont know why.
Can anyone advice what is wrong with the code?
Thanks!

Start coding below!

daily_sales_replaced = daily_sales.replace(";,;", “+”)
#print(daily_sales_replaced)

daily_transactions = daily_sales_replaced.split(",")
#print(daily_transactions)

daily_transactions_split =

for transactions in daily_transactions:
daily_transactions_split.append(transactions.split("+"))
#print(daily_transactions_split)

transaction_clean =

for transactions in daily_transactions_split:
transaction_clean =

for data_points in transactions:
transaction_clean.append(data_points.replace("\n", “”).strip(" "))
transaction_clean.append(transaction_clean)
print(transaction_clean)