Ad
  • Custom User Avatar

    I know they aren't random. But the person that wants to hard code all the answers to the 3000 test can absolutely have this kata ;) I could find easy documentation about writing random tests and my time is limited so this is the best I can do for now. Who know I will write some random testing logic in the :sparkles: future :sparkles:

  • Custom User Avatar

    Random tests are not implemented, but I did create a local file that created 3000 random tests (1500 True, 1500 False). So the one who can escape them all is more than welcome to have this kata as "Solved"

  • Custom User Avatar

    Check
    Check
    Check
    Check
    and kinda of check, didn't really check but with 1500 random tests there should be one starting with a Z ;)

  • Custom User Avatar

    Resolved

  • Custom User Avatar

    woops! Good catch, changed it :)

  • Custom User Avatar

    Python 3.8 is now enabled, will check the link for the new test framework and the random testing

  • Custom User Avatar

    Alright! I completely misunderstood that sentence. Thanks for your help.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    In all test cases my python program succeeds. However, when attempting every other case (besides the test cases) it fails. I printed the string I receive right after the function is called. This is what I got:

    fbpZqsBLPy_://'Yl/kzfRu-.;/:auKl'Uw-'Yl..;!'Yl,/./ghokhPGCh??;/ghokhPGCh-ghokhPGCh-:- -sdEByUJzCo.;//CJCKSIs:_ ;auKl'Uw?:/.epH!!!;auKl'Uw/sdEByUJzCo-?-sdEByUJzCo;.,.ghokhPGCh !??,auKl'Uw,?:!kzfRu.,ghokhPGCh?-? kzfRu:sdEByUJzCo.,;fbpZqsBLPy!ghokhPGCh-?-'Yl!;!.kzfRu;;.'Yl.!:/:sdEByUJzCo -ghokhPGCh,kzfRu!sdEByUJzCo -.:;auKl'Uw/:'Yl?./,'Yl?sdEByUJzCo!! ! fbpZqsBLPy kzfRu!. sdEByUJzCo_.,,.sdEByUJzCo/ !;ghokhPGCh /;/-kzfRu; ,fbpZqsBLPy,!auKl'Uw;sdEByUJzCo ,sdEByUJzCo-auKl'Uw kzfRu?-,'Yl !/auKl'Uw:/,epH,auKl'Uw/__-/kzfRu.sdEByUJzCo !:fbpZqsBLPy,:-/ghokhPGCh;;;;sdEByUJzCo-,.!ghokhPG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