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.
this is still ambiguously defined:
Fixed by saudiGuy.
Approved.
python new test framework is required. updated in this fork
The description is baddly formatted :
Description:
In this kata you will have to modify a sentence so that it meets the following rules:
if
longer than 6 characters
orhas 2 or more 'T' or 't' in it
: convert every word backwardselse if
exactly 2 characters long
orbefore a comma
: convert every word to uppercase:else if
exactly one character long
: convert every word to "0"Hi,
'
and-
in the descriptionresolved
thanks, just add some random tests too ideally
Yes, sorry for not including that in the description.
For
companions,
snoinapmoc,
is expected rather thanSNOINAPMOC,
. I suppose only the first transformation applies? It's should be specified in the description.k
I worked it out by trail and error, but be clearer on your rules, like do you mean: OR or XOR, 'T' or 't'. Be explicit on how to handle punctuation.
Also needs random tests.