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.
Here, the division operator forces the float, not the 1.0.
Evaluate 1/1 in the python interpreter.
a < b
is the same asb > a
.Hey, thanks for the feedback. Can you suggest a better and more clear description? Many thanks!
This comment is hidden because it contains spoiler information about the solution
No, that would lead to infinite recursion.
Not sure if I agree. The case satement referencing each index in each when is much more readable and more immediately understandable.
This comment is hidden because it contains spoiler information about the solution
It's exactly as benjaminzwhite told you, the font is condensed so it's hard to see, but there is a space there.
Hey @pablisch - in the screen shot that you link, the valid smiley that I see is
:D
.There is also
: )
if that is the 2nd one that you are counting? But notice that it (seems to) have a space between the : and ). It's obviously hard to tell in a screenshot, but if you copy the actual output from your console and paste it into a text editor, there seems to be a space?If so, then it is not a valid smiley. I don't see any other valids in that list, so I think 1 is correct total.
The tests are fine:
Read this: https://docs.codewars.com/training/troubleshooting/#post-discourse
Your code is wrong, not a kata issue. Read the description again about what is a valid smiley here,
":*D"
this is not one and your code says it is.