mirror of
https://github.com/github/codeql.git
synced 2026-05-09 07:31:37 +02:00
7 lines
144 B
Python
7 lines
144 B
Python
import math
|
|
|
|
def call_with_x_squared(x, function):
|
|
x = x*x
|
|
return function(x)
|
|
|
|
print call_with_x_squared(2, lambda x: math.factorial(x)) |