HackerRank Python Basic Data Type Tuples Problem Solution. Click here to see the problem.
Code:
if __name__ == '__main__':
n = int(input())
integer_list = tuple(map(int, input().split()))
print(hash(integer_list))
Test Input:
2 1 2
Test Output:
3713081631934410656