Given an integer, , and space-separated integers as input, create a tuple, , of those integers. Then compute and print the result of .Note: hash() is one of the functions in the __builtins__ module, so it need not be imported code example
Example: Given an integer, , and space-separated integers as input, create a tuple, , of those integers. Then compute and print the result of .
n = int(input())
integer_list =tuple( map(int, input().split()))
print(hash(integer_list)) #Return the hash value of the object (if it has one). Hash values are integers.
#They are used to quickly compare
#dictionary keys during a dictionary lookup.