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.
got it... Thanks!!!!!
secret = secret.replace('', ' ').split()
so why is this line of code a problem? it says referenced before assigned.
its not about that line of code. i did secret = secret cos i was struggling and didnt know how to include it in the code. my question mainly is, How do i represent the variable secret in my code? its that simple. 'refactor your code' is quite vague.
do you atleast understand where or how to incooperate the secret as a variable? I really think it should be added to the function as a parameter.
why does it say refrenced before assigned? This kata is pretty confusing. I think there should be a parameter for the secret string in the fuction braces! I have solved it in my vscode and its all perfect! Any help please???
Hi. what variable should I used for the 'secret' string? Because I used 'secret' but its saying refrenced before assigned
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
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
Mine: correct answer
wrong answer
empty string
His: Empty string
correct answer
wrong answer
And that is why mine wasn't working! wow. Can anyone explain why that makes a difference?
Loading more items...