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 should avoid using modules as much as you can.
sympy
is not available on codewars, also this task can be solved without use of any external modules.Welcome Andrey, please, mark your posts as having spoiler content when posting code like that and also read how to use markdown formatting so your code doesn't lose indentation.
To debug your code use print. About your code, you're comparing two lists with
==
, that's not "regardless of the order". Maybe there are more problems once you fix that.