Created
August 10, 2013 22:30
-
-
Save Xpktro/6202473 to your computer and use it in GitHub Desktop.
How to be hired by Antonio Ognio pt. 1
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
>>> def a(n): | |
... l = [] | |
... t = 1 | |
... while len(l) != n: | |
... if t % n == 0: l.append(t) | |
... t += 1 | |
... return l | |
... | |
>>> sum(a(7) + a(13)) | |
1379 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment