<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def shell(ctx, package, working_dir, sudo):
 """Runs a Canari interactive python shell"""

    ctx.mode = CanariMode.LocalShellDebug
    from canari.commands.shell import shell
    shell(package, working_dir, sudo)