• + 0 comments

    Yeah. I've found the same thing - the most logical scripting seems to work with python 2 but not python 3, with the test cases. It does seem likely a hackerrank problem.

    from future import print_function # Ensures print is a function, for Python 2 compatibility if name == 'main': n = int(input()) integer_list = map(int, raw_input().split())

    print(hash(tuple(integer_list)));