Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Python Basics Functions and Looping Raise an Exception

what is inator

I dont understand what inator is and what it is used for

suggestinator.py
def suggest(product_idea):
    return product_idea + "inator"
Dave StSomeWhere
Dave StSomeWhere
19,870 Points

Guessing that English is not your first language. It is just a fun suffix that turns anything into an invention. Like the name of the file being called suggestinator.py - an function that suggests outputs by concatenating "inator" to the end.

Maybe this cartoon will help or at least make you smile.

1 Answer

'inator' is the suffix in the new product's name. For example pass in bacon and presto the new product will be named baconinator.