You are viewing a single comment's thread. Return to all comments →
I solve this way : n = int(input()) elements = input().split()
if len(elements) == n: t = tuple(map(int, elements)) print(hash(t)) else: print("Error: The number of elements does not match the expected value.")
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 →
I solve this way : n = int(input()) elements = input().split()