A range object does not imclude the endpoint.
range
Same here. Cheated to look at the answers, still not sure why it wants what it wants. This is a very poorly written/worded Kata.
Exactly. It should be stated explicitly.
This comment is hidden because it contains spoiler information about the solution
Your code is not very efficient and I am not surpised that it times out. Try making bigger steps at the time. Use the shift operators (i.e., << and >>).
s is the output xs is the list of numbers
the test button doesn't work use submit instead since their are no test cases
(This is for python, not sure about the other languages)
Loading collection data...
A
range
object does not imclude the endpoint.Same here. Cheated to look at the answers, still not sure why it wants what it wants. This is a very poorly written/worded Kata.
Exactly. It should be stated explicitly.
This comment is hidden because it contains spoiler information about the solution
Your code is not very efficient and I am not surpised that it times out. Try making bigger steps at the time. Use the shift operators (i.e., << and >>).
This comment is hidden because it contains spoiler information about the solution
s is the output
xs is the list of numbers
the test button doesn't work
use submit instead since their are no test cases
(This is for python, not sure about the other languages)