I have reposted the code in a code block below
I am working through the Thread Shed project and running into an error that I can’t seem to figure out. I even went to the help video and made my code identical to what is shown, but the error persists
When I go to print customers, sales, or thread_sold the respective list item prints out numerous times for the numbers of items in the list.
For example, since there are 4 items in the list when I go to print customers it prints the customers name 4 times.
The code below prints each customers name 4 times. Any ideas what might be my issue?
for transaction in daily_transactions:
for transaction in daily_transactions_split:
for data_point in transaction:
transaction_clean.append(data_point.replace("\n"," “).strip(” "))
for transaction in transactions_clean:
#code is printing each customers name 4 times