Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I would argue that it's not, but I think it comes down to personal preference.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Case 2 makes the assumption that the API is configured properly to only accept expected input. From a cybersecurity perspective, even this is a bad idea.
eval()
should never be used in code that can be used by anyone aside from the author.This comment is hidden because it contains spoiler information about the solution
I'm also confused as to how this is resolved. The test cases in question are typically gibberish, not Jaden tweets. They're test cases that exist to test a requirement that is not communicated in the description.
EDIT: BobtheLantern, Python does expect the other letters to be lower case, but this is only made evident in the "Attempt" test cases. I can go back and retreive the actual cases if any mod needs them.
This comment is hidden because it contains spoiler information about the solution
The kata specifies that the first character of each word should be capitalized, but otherwise does not mention any changes to be made, implying that the strings should otherwise remain the same. However, the test cases expect all characters aside from the first in each word to be lowercase. This discrepancy is shown in the example below:
Following Instructions: ("examPLE tExt" --> "ExamPLE TExt") Expected Answer: ("examPLE tExt" --> "Example Text")
There's nothing wrong with this expectation, but I believe that it should be specified in the kata instructions.