• + 0 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.")