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.
thank you, rowcased
with abs code works properly.
google advises me to use math.fab ))
as regards my code I know it is not optimal. I hope when I will be 2 kyu or higher it will be better ))
This comment is hidden because it contains spoiler information about the solution
rowcased, can I send you my code for this kata?
pycharm result = 3
pytho console = 0
expected = 1
thanks for idea.
but I found an issue:
console
import math
print (math.fabs(-9223372036854775807)%2)
0.0
PyCharm:
https://clip2net.com/s/42YI9QB
Python. Attempt stage: all tests are passed, except this one
" 0 should equal -9223372036854775807 "
and I can't see the initial list to check my code.