Welcome to the Treehouse Community
Looking to learn something new?
Blue DiamondXD5,369 Points
i dont know what is missing!
def suggest(product_idea): if product_idea != "yes": raise ValueError("") return product_idea + "inator"
The challenge asks you to raise a value error if the length of product_idea is less than 3. You are raising a value error if product_idea doesn't equal "yes".
You want to check how long the product_idea is. To check how long it is, you can say
And then you would check to see if it is less than 3.
if len(product_idea) < 3: