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.
'looks like you've solved it'
This comment is hidden because it contains spoiler information about the solution
No errors, mb you need proper indentation.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Your code is wrong. The test is for the string
"You're becoming a true freudian expert"
.When you code reaches
"a"
, it replaces"a"
with"sex"
. Unfortunately, that means,"freudian"
becomes"freudisexn"
.Since
"freudisexn"
doesn't exist in the originalsentence.split()
, it would never get replaced.You need to think of some other method to solve the kata.
Also, this is not an issue with kata. So you should mark this as resolved.
This comment is hidden because it contains spoiler information about the solution