+ 1
Code Coach "SECURITY"
Someone can tell how my newbie code get wrong at Test 4 (answer is ALARM) in security code coach ??? https://code.sololearn.com/cj2ewGrwbM12/?ref=app Jayakrishnađźđł Wilbur Jaywright David OrdĂĄs
2 Answers
+ 2
I don't know what test 4 uses for input but this case would fail: TG$G$TG$GT
Notice the $T is in that string putting the money unguarded next to the thief.
0
Josh Greig Yes I was found it. when go to else, it will error when z+1 out of range.
Thanks :)