Task
Given an integer, n and n space-separated integers as input, create a tuple t , of those n integers. Then compute and print the result of hash(t) .
Input Format
The first line contains an integer,n , denoting the number of elements in the tuple.
The second line contains n space-separated integers describing the elements in tuple t.
Output Format
Print the result of hash(t).
Sample Input 0
2
1 2
Sample Output 0
3713081631934410656
Note: hash() is one of the functions in the _builtins_ module, so it need not be imported.
Sur cette page du site, vous pouvez voir la vidéo en ligne Tuples | HackerRank PYTHON | hash() function | durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Ultimate Gamer 06 juin 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,367 fois et il a aimé 8 téléspectateurs. Bon visionnage!