Yes, both good suggestions! Thank you.
I agree. Also you could move the dict outside the function, so the dict wouldn't be created every function call.
spoiler flag...
This comment is hidden because it contains spoiler information about the solution
Loading collection data...
Yes, both good suggestions! Thank you.
I agree. Also you could move the dict outside the function, so the dict wouldn't be created every function call.
spoiler flag...
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution