Created
March 17, 2017 21:26
-
-
Save rjshekar90/2e39570c97211e16dfadd88682375bcc to your computer and use it in GitHub Desktop.
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
fib = lambda n: fib(n-1)+fib(n-2) if n>1 else n | |
print(list(map(lambda x: x**3, [fib(n) for n in range(int(input().strip()))]))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment