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.
isspace
is a function????Tried using this syntax for something else using elifs, didn't realise multiple elses could be chained like this until now.
Cards coming back to the beginning of the array after Snap ?
yes, it looks like the array used for random tests in Python is not the right one;
I took the liberty to arrange the words array (cf my former post), and random tests are working fine now !
Beautiful kata by the way !
??
Here is the right list to work with ! All works fine with it
words = [ ["salmonella", "consequently", "irregular", "intelligence", "vegetable", "ordinary", "alternative",
"watermelon", "controversial", "marijuana"],
["like", "a", "tweet", "what", "for", "world", "whale", "one", "last", "sun"],
["ocean", "beauty", "tweet", "monster", "yellow", "return", "despair", "flower", "return", "contrast"],
["romantic", "curious", "banana", "jealousy", "tactlessly", "remorseful", "follower", "elephant",
"however", "instagram"],
["salmonella", "consequently", "irregular", "intelligence", "vegetable", "ordinary", "alternative",
"watermelon", "controversial", "marijuana"],
["lackadaisical", "serendipity", "colonoscopy", "dramatically", "parsimonius", "imagination",
"electricity", "diabolical", "deforestation", "abomination"],
["extraterrestrial", "onomatopoeia", "responsibility", "revolutionary", "generalisation",
"enthusiastically", "biodiversity", "veterinarian", "characteristically", "indefatigable"],
["oversimplification", "individuality", "decriminalisation", "compartmentalisation", "anaesthesiologist",
"industrialisation", "buckminsterfullerene", "irresponsibility", "autobiographical", "utilitarianism"]
]
for Python :
small issues with spaces in random generations;
message error :
' Yankee'
should equal
'. Yankee'
or
'Romeo '
should equal
'Romeo ! !'
Good kata otherwise !