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.
I was assuming 'match' and 'case' (both added with 3.10) are missing in the list, but after some research, I found the following sentence: 'Keywords in Python are reserved words that can not be used as a variable name, function name, or any other identifier.' (https://www.geeksforgeeks.org/python-keywords/).
Tried it and you can indeed use 'match' and 'case' as a variable names.
In PEP 634 I also found the following: 'The match and case keywords are soft keywords, ..' (https://peps.python.org/pep-0634/).
Maybe it would be good to add a test case for both of them with a hint 'soft keywords don't count'.
I guess the 'if n2 == 1:' condition is not necessary.