Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 539 Bytes

File metadata and controls

19 lines (12 loc) · 539 Bytes

Given an integer, n, and n space-separated integers as input, create a tuple, t, of those n integers. Then compute and print the result of hash(t).

Note: hash() is one of the functions in the builtins module, so it need not be imported.

#Input Format

The first line contains an integer, n, denoting the number of elements in the tuple. The second line contains n space-separated integers describing the elements in tuple t.

Output Format

Print the result of hash(t).

Sample Input 0 2 1 2

Sample Output 0 3713081631934410656