We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
0 parents commit 5e6b307Copy full SHA for 5e6b307
HackerRank_Hash.py
@@ -0,0 +1,5 @@
1
+if __name__ == "__main__":
2
+ n = int(input())
3
+ t = tuple(map(int, input().rstrip().split()))
4
+
5
+ print(hash(t)) #hash() is a builtin function, returns hash of only immutable obj.
0 commit comments