Skip to content

Commit 8b0e66c

Browse files
authored
To print hash of tuple
1 parent afa2150 commit 8b0e66c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Tuples.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
if __name__ == '__main__':
2+
n = int(raw_input())
3+
integer_list = list(map(int, raw_input().split()))
4+
print(hash(tuple(integer_list)))
5+

0 commit comments

Comments
 (0)