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 followed the same logic, but couldn't even begin to dream to produce something like this.
Added
(start index and end index are both inclusive)
to the description. Thanks ;-)If you're trying to make a Monte Carlo kata you should at least know about error estimation and some elementary statistics, right? :P
I updated the python sample code, added some example test, and updated the test cases.
Cheers
Thanks. Sorry for the spell check.... and also for making it clearer.
I've tried fixing it up a bit more.
One should really only read from "for simplicity .." to "the goal is .."; the rest is quite unessential, though a nice story.
I really appreciate your comment!
I have corrected all the spelling errors I could find, I believe I caught all the ones you mentioned.As for 8, I think just removing that bit makes it less unclear (why am I using a double negative? IDK...) and 10, I did as you suggested and reformatted the bottom a little to compensate.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
@damjan, I learn a lot from others' solutions and I often forget where/who I learned from. I try to write a comment like this whenever my solution contains ideas from others (solutions, research paper, Wikipedia, blog, etc) not only to give them credit, but also as a "note to self" :)
Oh,no! ;-)
Yes, myjinxin is awesome... I always think he is an alien and probably he is...:-)!
No problem, there's no "copyright" for it:-)! Happy new year!
PS: Beside my often really bad ideas i sometimes have some good ones (but really only sometimes):-)...
Well, sometimes it ends with that.
Good point!
Actually, the last test is from a real python terminal session (just type
python
to get into it), and based on that, it might be the better way to adjust the description. (The mentioned python commands actually end there [no function def or parenthesis started], that's why the terminal doesn't offer one more line, hence no empty...
will be produced.)However, from the point of view of the kata, I could just add the terminal
...
lines at those parts of the test cases.Which resolution would you suggest?
Loading more items...