-
fed.kz's Activity
Liked
a comment created by kurosawa4434
for
forum post "How can I optimize it?"
The height of the adjacent part may be different. (Please see attached image) I wrote a more strict
Commented a forum post "How can I optimize it?" created by
fed.kz
I tried to use combinations first, but my code returns `None` at some cases. On example when right a
Created a forum post "How can I optimize it?"
Hi all! I try to solve mission `Broken Window`. I written a code and it works good, but for test wit
Liked
a comment created by keneda212
for
forum post "additional asserts to Safe Code"
oh.. I forgot it ... thanks :) in fact, the important notes is a big part, and condensed, I haven't
Commented a forum post "additional asserts to Safe Code" created by
przemyslaw.daniel
> Important note - none of the figures that already are in the equation cannot be in place of
Liked
a comment created by Sim0000
for
forum post "Newbie asking"
**re.match("[0-9]",data)** means whether first character of data is [0-9] or not. You need to use **
Liked
a comment created by DenysChy
for
forum post "Help!!!!!!"
1) You must check that the password string is equal or longer than 10 characters. 2) The same string
Liked
a comment created by oduvan
for
forum post "Printing. "Hello, World!""
I think if users will have a first mission with print they will keep using print instead of return i
Commented a forum post "KeyError 'fight'" created by
grosserd81
In previous missions you need define function `fight(unit1, unit2)`. Your code doesn't contains this
Commented a forum post "Digits Multiplication" created by
Hiroaki_Ebihara
Line 4. type of each element is `str`. When you use `i == 0`, you don't remove zeros, because '0' !=
Commented a forum post "Stuck on regex variant" created by
Skidoodel
Your pattern is like a method `str.isalnum`.
p = "[a-zA-Z0-9]+"
re.match(p, 'AAA') == <
Liked
a comment created by Vladimir_Marunin
for
forum post "Test 26 problem."
Thank you @fed.kz for your help. Sometimes Python is more clear than human language. I had wrong mo
Commented a forum post "Test 26 problem." created by
Vladimir_Marunin
Maybe your method `move_units()` works incorrect
Commented a forum post "Test 26 problem." created by
Vladimir_Marunin
I tested this at my solution and get next results:
Step 0:
army_1 = [Lancer(h: 50 a: 6), La