We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Debugging
- Default Arguments
- Discussions
Default Arguments
Default Arguments
Sort by
recency
|
222 Discussions
|
Please Login in order to post a comment
I don't understand what they are asking for, much less come up with a solution. This question doesn't seem to focus so much on your knowledge of default arguments. Seems like there is an issue on object initialization (based on reading comments). Apparently, the goal of this question is to try to trip you up, not actually test your knowledge or teach you anything.
in example 0, it prints "0, 2, 4" for the first even 3. but the explanation says it is going to be 2,4,6. but it says example 0 is correct. anyone else notice that inconsistency or am i missing something?
This one was tough