Tuples | HackerRank PYTHON | hash() function |

Veröffentlicht am: 06 Juni 2019
auf dem Kanal: Ultimate Gamer
2,367
8

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.


Auf dieser Seite können Sie das Online-Video Tuples | HackerRank PYTHON | hash() function | mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Ultimate Gamer 06 Juni 2019 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,367 Mal angesehen und es wurde von 8 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!