After doing some search, the regex expression capter only that 1 chacater with (.)
match - The matched substring --> that we do not use and that why he used the _
p1, p2, ... - The nth string found by a parenthesized capture group, provided the first argument to replace() was a RegExp object. (Corresponds to $1, $2, etc. above.) For example, if /(\a+)(\b+)/, was given, p1 is the match for \a+, and p2 for \b+. --> that is the character that we want and that we will uppercase.
and that how that function works!
You're not supposed to convert bases or calculate the factorial.
The debug drawing is incorrect if the coordinates are big enough, e.g debug_draw(6, 12, 0) and debug_draw(6, 14, 0).
debug_draw(6, 12, 0)
debug_draw(6, 14, 0)
Python, sample tests:
test.expect(abs(actual - expected) < 1e-4, actual)
This line is incorrect.
Capture a character.
One doesn't need to use built-in toString method because the problem cannot be solved with direct computation anyway. Some (school level) math knowedge is required.
Am i missing something? What is the expectation if radix is out of this range.
Cool, what is (.) doing?
Same mistake here o_O
Use radix or _base
Hey, I created Rust Translation, plz review it :)
issue on C#
U can't use the name "base" for a variable.
It's a keyword meaning the superclass
OK, but how to deal with that "THE-StEAlth-wArRior"?
Wow, our solution is the same