Skip to content

Instantly share code, notes, and snippets.

@aldy120
Created May 9, 2022 15:10
Show Gist options
  • Select an option

  • Save aldy120/3a2cc22758c7e3c45e1a8fb6001f0b72 to your computer and use it in GitHub Desktop.

Select an option

Save aldy120/3a2cc22758c7e3c45e1a8fb6001f0b72 to your computer and use it in GitHub Desktop.
fibo layer example.
import json
import fibo
def lambda_handler(event, context):
fibo.fib2(1000)
return {
'statusCode': 200,
'body': json.dumps('Hello from fibo 1000: ' + ' '.join([str(elem) for elem in fibo.fib2(100)]) )
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment