Thread Shed Stuck!

Okay so I am really confused.

I have followed the script so far with thread shed about replacing the semi-colons with ‘+’ and even copied what was on the video but regardless it won’t replace it?

here is my project

[https://gist.github.com/610bc26461e36a5f8348d82ab0551202]

and the code in question:

daily_sales_replaced = daily_sales.replace(';.;', '+')
daily_transactions = daily_sales_replaced.split('+')
print(daily_transactions)

It just prints the same output as daily sales and not replacing it at all. Where am I going wrong?

The format used in that original string was ‘;,;’. It’s a comma rather than a full-stop.

1 Like

ah thank you! good spot!

1 Like

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.