I’m having an issue that is driving me mad.
aily_sales_replaced = daily_sales.replace(";,;", “+”)
daily_transactions = daily_sales_replaced.split(",")
for transaction in daily_transactions:
for transaction in daily_transactions_split:
for data_point in transaction:
transaction_clean.append(data_point.replace("\n", “”).strip(" "))
this prints out in the console the same lists, but 4 times each and for the life of me i can’t understand why. I have even tried to copy the exast same lines of code from the video walkthrough and the same thing happens.
Could you please help with some pointes?