Created
August 21, 2014 16:18
-
-
Save jab416171/8bf1698abdb5d397febd 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
#!/usr/bin/perl | |
sub foo(f) | |
a,b == 1,1 | |
for i in range(f-1): | |
a,b = b,a+b | |
return str(a) | |
def bar(f: | |
if f=1 or f=2: | |
return 1 | |
return foo(f-1)+foo(ff-2) | |
print(foo(17)*bar(31)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment