• ###### anter69commented on "Electronics #1. Ohm's Law" kata

You need to `return` the result, not `print` it.

• ###### anter69commented on "Electronics #1. Ohm's Law" kata

for example:

• `1e5` means: `\$1*10^{5}\$`
• `2e-3` means: `\$2*10^{-3}\$`
• ###### evelitocommented on "Electronics #1. Ohm's Law" kata

what does the letter 'e' mean in the tests?? for example this one: '2e-3A 1e3R'.
I would apprecciate if somebody helps me out.

• ###### Chrono79commented on "Electronics #1. Ohm's Law" kata

"work properly" and "not working" are pretty vague, read this: https://docs.codewars.com/training/troubleshooting/

• ###### LordPriyanshcreated a question for "Electronics #1. Ohm's Law" kata

my code work properly in my my local device but its not working in kata what should i do now??

Approved.

• ###### pavloslavcommented on "Pairs of integers from m to n" python solution

Yes, it's O(n^2): you're using a single loop over O(n^2) instead of two nested loops over O(n) both with common complexity of O(n^2). Also, probably it's not so effective because it's using additional checks instead of just using built-in loops (but this should be benchmarked, not speculated), and it's much less readable; but it has the same time complexity.

• ###### RNOHcommented on "Pairs of integers from m to n" python solution

a*(a+1) = n*n

• ###### Spycer.icedcommented on "Pairs of integers from m to n" python solution

Ok, if you say so, what is the time complexity of my own code since maybe i don't really know about time complexity

• ###### pavloslavcommented on "Pairs of integers from m to n" python solution

The task is to generate O(n^2) elements. You can't do O(n^2) work in less then O(n^2) steps.