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... i wasnt asking for "xor" actualy... i didnt know the operator "^" :D
This comment is hidden because it contains spoiler information about the solution
Could someone explain that?
Clever girl...
There are no such tests at least in Python, they all begin with
C
orm
.Well, this will not work if there is "." before or after "C" and "m".
This is a brilliant solution. Great job!
Thanks !
it is equivilent. you could also have returned
2 + 2 == 5
ornot True
or anything that evaluates to a boolean false value... scroll through the resultant codes for a lesson in said conceptCan someone explain to me how a 0 returns False ?
Goddamnit, that's why you shouldn't sneak code while in class...
Thank you anter69.
Improvement has been forked to this solution.
But it's incomplete. For example, latitude 90123 and 90.123 should both be invalid.
Yup, I think this kata's whole point was code efficiency.
Holy mother of god that's beautiful!
Loading more items...