Skip to content

Instantly share code, notes, and snippets.

@jab416171
Created August 21, 2014 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jab416171/8bf1698abdb5d397febd to your computer and use it in GitHub Desktop.
Save jab416171/8bf1698abdb5d397febd to your computer and use it in GitHub Desktop.
#!/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