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.
Thank you very much AcesOfGlory. Very smart answer. I am proud to be part of codewars.
1.) You must not put a space between the operator. Change
< =
to<=
.2.) You must return the output instead of printing it. Change
print
toreturn
.3.)
^
is the operator for xor, not exponentials. Change^
to**
.4.) You have missed the "Overweight" section of your code.
1.) Mark comments that have code in them as a "Spoiler".
2.) You can format code in the comments using Markdown: https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code-and-syntax-highlighting.
It gives me a syntax error
This comment is hidden because it contains spoiler information about the solution