Python Project

You must select a tag to post in this category. Please find the tag relating to the section of the course you are on E.g. loops, learn-compatibility

When you ask a question, don’t forget to include a link to the exercise or project you’re dealing with!

I keep getting an error message on line 141 but it doesn’t appear to be a problem in the syntax and I am not quite sure of the meaning of the message highlighted in red in the right column . Any help would be appreciated and many thanks in advance. :grinning:
If you want to have the best chances of getting a useful answer quickly, make sure you follow our guidelines about how to ask a good question. That way you’ll be helping everyone – helping people to answer your question and helping others who are stuck to find the question and answer! :slight_smile:

You seem to have made some mistake in an earlier step.
The error message is saying that it can’t convert the string "y" to a float value.

If you complete the earlier steps correctly, then your print statements on lines 135-137 should be printing something like:

// customers
['Edith Mcbride', 'Herbert Tran',  ... , 'Gail Phelps', 'Myrtle Morris']

// sales
['$1.21', '$7.29', '$12.52', ... , '$13.66', '$30.52', '$22.66']

// thread_sold
['white', 'white&blue', 'white&blue', ... , 'green&white&blue', 'green&white&blue']

Your screenshot shows much different output suggesting you have made a mistake somewhere earlier than line 130.