Compile Error
/in/foo.c:1:1: error: unknown type name 'def'
def recursion(n):
^~~
/in/foo.c: In function 'recursion':
/in/foo.c:1:17: error: expected declaration specifiers before ':' token
def recursion(n):
^
/in/foo.c:1:5: warning: type of 'n' defaults to 'int' [-Wimplicit-int]
def recursion(n):
^~~~~~~~~
/in/foo.c:8:1: warning: control reaches end of non-void function [-Wreturn-type]
print("%d"%(result))
^~~~~