Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Excellent usage of regex! Didn't know how to use lazy quantifier correctly, as otherwise this would have been my first solution to the problem!
This comment is hidden because it contains spoiler information about the solution
You can ask him in a few years how are his programming skills.
Hello Blind4Basic,
You are right. The search method will try to find 8 characters anywhere in the string, so the comma does not have an use here.
But with the second I only agree partially, although '\n' is a valid character in a string, I don't know if the newline character is valid in any password.
Thank you for pointing this out!
Best regards,
dumistrocel
Hello Chrono79,
Your are right, but still, this does not explain why the expected result in the random tests was 100, instead of 123.
Hello,
Can anyone help me understand what is happening with the following random test? The expected result seen in the test should be 100, but my app shows the correct result as 124, as confirmed by selecting the respective group by hand -> 'azzxyv' and solving the group as the value 124. Language I'm using is Python 3.6.
Thanks
Test.assert_equals(solve("rgoaqoupeeiotaobkasaheuuijxikfksaiuagnaiumeowjuueoiwofudhsrxujauueeibaiyiuuochuukxnziooimaybayafiamoexsnuvzvuiuhaeihzhaaluuuanpmxviazzxyveenuwlwyuxopueiaeknyaimujpqneeuriuyolsaeeeuukeeyeuooriaotiioepubittqwieoxaeuwouiaonuiauleoneujiasuesdooiiiiaasxouthziiqkovuyeoworaraubeoailooeoedonoxiuudpukiyjeioauaehiuaweviabaogaziumuueekeaorqbboeietktsrzoceekaeuvoigoiveuoabunieaakajuiomfxaenwqghojwoinioqxoavgeikeuokuealfqofairouazaleliioootwlhaejoioaeooiugpooumaiuolweiouhoaarilesiuabobteoreuiivouadalkpetafceanverikpqsqiiexhkuqaoleaeeadyuwameogouutaedioimodcoenuuahufofwgnhaanoueluhtyeohoeuigfeldkiuepiaueebeeueiosxiuaiicuyitsainiaiuauaoxuiqiouobwoxiuqzlarfrbaasoumopoorquoeugqitvsioloefriuyltqctuorzaalufefrecwaxufekeeoiavbiaiugkaoaiyiaieknjaiukfexoeceearooiunocieuesiuteuoudeaickasafswiinazuuhijauiitoggzuiaovuoujggvfcuitjhogauxefiiueeamaimwoueuoiceuuizboaaaiheeiiuiwcuaocujluoc"),100)