Preparing your experience...
Loading scripts and resources
Preparing your experience...
Loading scripts and resources
P1: 'Sum of 1 to n' → def sum_to(n): if n == ___: return 1; return n + sum_to(___) [1, n-1]. P2: 'Power function' → def power(base, exp): if exp == ___: return 1; return base * power(base, ___) [0, exp-1]. P3: 'String reverse' → def reverse(s): if len(s) <= ___: return s; return reverse(s[___:]) + s
5
Likes
0
Remixes
0
Comments