Welcome to the Treehouse Community
Looking to learn something new?
raising value error
not sure what is wrong with my code. Any idea please?
def suggest(product_idea): if product_idea < 3: raise ValueError return product_idea + "inator"
Craig DennisTreehouse Teacher
product_idea is a string.
How do you check how many letters are in a string?
Let me know if that hint doesn't do the trick ;)
Changjoon SongPython Web Development Techdegree Student 8,092 Points
So I have done the exact same thing (with using len), yet it's telling me that I still have two problems.