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.
Hi, first off: if you want to post your code you should use proper code markdown (otherwise indentation/readability is a problem), and thanks for using the spoiler tag.
As for the kata: the
input()
is not going to play a big role here on Codewars. The functionget_drink_by_profession
will be passed the parameterprofession
as a string and your function should figure out the correct response and then youreturn
the string result instead of justprint
it.This comment is hidden because it contains spoiler information about the solution