Bug in example code
A content ERROR was logged by "Hugo Bernhard Janz" at the following url:
The issue as described by the user:
Code can not be executed, generates IndexError;
Implemented functions work fine on their own;
Could not find valid solution that still exemplifies recursive function use;
The text highlighted while reporting this issue:
def cap(s) :
return uc(s[0]) + cap(s[1:len(s)])