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.
You actually can assign a function to variable https://www.geeksforgeeks.org/assign-function-to-a-variable-in-python/ , however you can't assign a function DEFINITION to variable. But once again im saying this is not my code where the error occurs, error lies in the test cases.
Went into comments just to say that, thanks dude for doing the work for me.
This comment is hidden because it contains spoiler information about the solution
Hi,
my
def
is in fact at the very beginning of the line, I've marked this as an issue, beacouse I think there is a problem withtest.py
test file, not my solution, and not something I could change.I am getting this error, and I am almost sure this is not my bad, any ideas?