Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created December 17, 2020 11:40
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 velotiotech/07959fe2e857415e287b643a0e67055a to your computer and use it in GitHub Desktop.
Save velotiotech/07959fe2e857415e287b643a0e67055a to your computer and use it in GitHub Desktop.
get factorial lambda
import math
def lambda_handler(event, context):
"""
Handler for get factorial
"""
number = event['number']
return math.factorial(number)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment