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.
ok and?
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.