Syntax: Recursion in Python. • ID: #94 Code def fact(n): return 1 if n<=1 else n*fact(n-1) print(fact(2)) Notes You can copy this snippet and adapt it. For advanced, add real-world inputs, edge cases, and tests. ← Prev Next →