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.
This happens when your code is raising the following:
It seems something is trying to import the ast module when this error is handled. Changing the python version effectively avoids the extra imports/failed assertions, but basically, if you fix your code, those failed assertions will disappear.
change the version of Python from 3.11 to an earlier verison, worked for me
Comparison of the 3 most prominent Python solutions, that is.
Your code looks great! I would recommend moving the
effective
dict within theexpected_damage()
function, similar to how you had it in theget_move()
function in pervision verison. I think it would look cleaner and moreencapsulated
; however,that is just my humble opinion. Again, great job!