Created
June 29, 2016 19:20
-
-
Save libert-xyz/5c39e577f351d4be9a9317fb95bd3e77 to your computer and use it in GitHub Desktop.
tuple
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#https://www.hackerrank.com/challenges/python-tuples | |
#06/29/16 | |
#map(function, iterable, ...) | |
#Return an iterator that applies function to every item of iterable, yielding the results. If additional iterable arguments are passed, function must take that many arguments and is applied to the items from all iterables in parallel. With multiple iterables, the iterator stops when the shortest iterable is exhausted. For cases where the function inputs are already arranged into argument tuples, see itertools.starmap(). | |
input() | |
print (hash(tuple(map(int, input().split(" "))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment