• + 0 comments

    if your using the python 2 then use this code

    if name == 'main': n = int(raw_input()) integer_list = map(int, raw_input().split()) t = tuple(integer_list) print hash(t)

    in python 2 to take the input we need to use the raw_input()