Hello! I am new to coding and am currently doing the Computer Science career path. I am on the project “Thread Shed” and my output is not showing up the way I have wanted it too. I have watched the walkthrough on the project and even though it seems like I am doing the exact same thing, it always comes out different. My current code through step 7 is:
daily_sales_replaced = daily_sales.replace(';,;', '.') daily_transactions = daily_sales_replaced.split(',') #print(daily_transactions) daily_transactions_split =  for sale in daily_transactions: daily_transactions_split.append(sale.split('.')) #print(daily_transactions_split) transactions_clean =  for transaction in daily_transactions_split: transaction_clean =  for data_point in transaction: transactions_clean.append(data_point.strip(" ")) transactions_clean.append(transaction_clean) print(transactions_clean)
It is supposed to come out as ex: [‘Myrtle Morris \n’, ‘$22.66’, ‘green&white&blue’, ‘09/15/17’]
but it is coming out as, ex: ‘Myrtle Morris \n’, , ‘$22’, , ‘66’, , ‘green&white&blue’, , ‘09/15/17’,
I don’t really have much idea what is going on here, so any help solving this problem would be appreciated! Thanks!