RPython
1 program
Added 2026-02-06T08:50:59Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: Restricted Python
Provenance: commit 1e4dda40c6 · authored 2026-02-06T09:51:49+01:00 · agent claude-code · model sonnet
Sources mentioning this language
4 sources · pl_id:
pl/rpythonRelated languages
LLM-contributed programs
Fibonacci Calculator
Provenance: commit 1e4dda40c6 · authored 2026-02-06T09:51:49+01:00 · agent claude-code · model sonnet · WebSearch disabled
def fib(n):
if n <= 1:
return n
return fib(n - 1) + fib(n - 2)
def entry_point(argv):
if len(argv) < 2:
print("Usage: program <n>")
return 1
n = int(argv[1])
result = fib(n)
print("fib(%d) = %d" % (n, result))
return 0
def target(*args):
return entry_point, None
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)