Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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