Stuck on Thread Shed


#1

Hi I’m having trouble with my program for Thread Shed for some reason its multiplying the list. Here is my code:https://gist.github.com/05ec57d4fad54421a37a76e50e60410e


#2
transactions_clean=[]
for transaction in daily_transactions_split:
  transaction_clean=[]
  for action in transaction:
    transaction_clean.append(action.replace('\n','').strip(' '))
    transactions_clean.append(transaction_clean)
print(transactions_clean)

Study this code and see if there is not something wrong.


#3

Thanks I realized what it was doing and got it thanks.