We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
# Enter your code here. Read input from STDIN. Print output to STDOUTn=int(input())# I don't get what is the point of the n if the input that we are looking for is one liner?# Ofc you could add a checker if the the count of int elements of tuple corresponds to n.# BTW the version of Python influences the hash function so if you get# -35513421 or whatever you did it correct the first time. t=tuple(map(int,input().split()))# print(t)print(hash(t))
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Tuples
You are viewing a single comment's thread. Return to all comments →