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.
the test cases didn't fail, the codewars test checker didn't see True values being returned 😅
That's not a bug... it's a feature for... COMPLIMENTING INTERNET HANDLES!
return f"Hello {n}, you are very cool!"
If I input "@" it works :D
TypeScript*
This solution is not working anymore now !
Hi, I wonder if this would pass the current test set where there's "0" at the index position 0 (which you skip), which should appear in the resultset.
HERE NOW
(built from seraph's original change to any type)
Well, declaring as a string forces any input to be formatted as a string, from what I can tell, so I just put an int as the test to make sure that the code runs for all possible inputs, including potential miscommunication with the script for "None" or "Null" jokes.
Good contribution! However, you declared the parameter
food_source
as astring
and later pass aninterger
as a value in the tests. Perhaps you should declarefood_source
asAny
if you want it to be "any" type of datatype?I just made the arguments forced strings, so you can put whatever you want in whatever slot.
it is shorter.
Thanks! It was funny
Bro... it's fricking awesome
Loading more items...