<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def sudo(command, show=True, *args, **kwargs):
 """ Runs a command as sudo on the remote server. """

    if show:
        print_command(command)
    with hide("running"):
        return _sudo(command, *args, **kwargs)