• Custom User Avatar

    Yeah, exactly

  • Custom User Avatar

    Me too. And I don't feel like maths help should be spoilers... this is after all a coding site, not a maths site. IMO spoilers should only be information that spoils how to implement the maths...

  • Custom User Avatar

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

  • Custom User Avatar

    Hey, just wondering whether I'm misunderstanding something or there's an error in the Python test cases? I keep passing all the tests but getting this issue:

    Traceback:
    in
    in encode
    ValueError: "'" is not in list

    I messed around with my own test cases and found I got the same error when I set up the password key as "'password'" instead of "password". So I used key.strip("'") to get rid of the ' but I'm still encountering the error.

  • Custom User Avatar

    Goddamn, that's elegant.

  • Custom User Avatar

    I don't have a super mathsy background but I feel like the math I need for this is simple and just slightly out of reach - could someone please give me a steer in the right direction? Like a link to a math tutorial that would help?