you are right :)
I pass the examples fine, but timeout on the attempt. My code is not magic, but still should be fine. My question is if the test contains extremly large numbers and I must focus on a more optimized solution or if I must have made an error in coding (i.e. even spahghetti should finish in time).
Fun but definitely not an 8kyu
Don't get distracted by visual output on Colsole between stair 1 and 2. Always count spaces. Nice task!
Bump this up to a 7kyu at least. Would be nice to see some consistency with the rankings on codewars.
spoiler flag, plz...
On Codewars, you're supposed to return the result, not just print it to the console. hence return stair
This comment is hidden because it contains spoiler information about the solution
I don't know how these things are ranked, honestly. This was just something I made off the top of my head 2 years ago
that's pretty creative, I don't think I could have thought of that (at the time of writing the kata I wasn't very good at coding.)
Yeah, I made this back when I barely knew python... haha :)
Nice thanks for the tip. Was very helpful for me too.
I try a lot of different experiments too.
Uphill, both ways, right?