Sort by

recency

|

1867 Discussions

|

  • + 0 comments

    try! in python 2 keep tuple outside the if condition if name == 'main': n = int(raw_input() integer_list = map(int, raw_input().split()) t = tuple(integer_list) print(hash(t))

  • + 0 comments

    this is a wrong question as python2 gives different result then python 3 and its failing in python3 , had to submit it in python 2

  • + 1 comment

    In Python 3, the only reliable way to match the expected hash output is to build the hash function by hand mimicing SEED 0.

  • + 0 comments

    Use Python 2 for this challenge.

    It was previously solveable using Python 3 as I have multiple correct submissions for Python 3 from a few years ago. But that exact code no longer works when I resubmit it.

    Not quite sure what changed, but something definitely did change.

    Anyhow, it still works with Python 2 so tackle this challenge with that version of Python.

  • + 1 comment

    as someone new in python, the difference in python version and lack of description of the task is frustrating thanks for everyone that mention it here