I entered my code as instructed by the exercise, but I’m seeing a
TypeError in the terminal when I press Run. Why is this happening?
If you’re seeing a TypeError, take a look back over the string you built with concatenation (using
+ between parts to make a big string). For example, if you tried doing
big_string = "The product was " + product, you’ll get this error.
To fix this, convert the variable
product to a string so it can be concatenated with strings, like this: