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.
so many ways to approach this one, very enjoyable
Python: not a single test with a whole number.
Your code will result in Integer Overflow because of this
Also, your code will fail for numbers with trailing zeros as such:
with the output panel displaying:
OP solved it, closing
Not a kata issue ! You are performing mathematical operations resulting in outputs exceeding the integer limit. One of such cases being
int(7532471114942663981)
, so read this for more infoApproved
should get '10 + 2'
got '10 + 2'
but then to error y?
Thanks, stucked on this, because everything was working in IDE.
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/209.
Please join the discussion to help us identify duplicate kata and retire them.
The 2 links you provided to the mathplacementreview website are broken, the site has been hacked. It looks like this kata should be the "Solution for XXX" at these links.
This should be reraised as an issue.
I guess the kata would be way harder if you actually try to put some restrictions to it like having to figure out the solution given the equation at the first shot, it could be a nice idea for another evilized edition kata of this one.
Done
Done.
I would recommend treating everything as strings mostly because the output should be a string
Loading more items...