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 Using Databases in Python Gettin' CRUD-y With It CRUD: Create Function

Matthew Shipman
Matthew Shipman
11,369 Points

What is the answer

This question is very vague. I'm really not sure what it is I'm suppose to be doing. What is the answer so that I can get the learning points from the challenge before moving on.

Hi Matthew,

might you already resolve the Problem. But:

  1. Create a function named create_challenge() ? I think thats clear or?

a) that takes name, language, and steps arguments.

Just three parameters for the function: name, language, steps

b) steps should be optional https://stackoverflow.com/questions/6435793/optional-parameters-in-python-functions-and-their-default-values

c) Create a Challenge from the arguments.

Search for the Topic: "Creating Instance Objects"

d) create_challenge should not return anything.

I hope it helped a bit.

Greetings Julian