from typing import Dict
from typing import List


def add_toggle_completion(
    toggle_outcomes: Dict[str, Dict[str, bool]],
    subtasks: List[str]):
  """Create toggled outcomes/completions mapping
    for each toggle-able subtasks.

    e.g.
      >>> toggle({}, ['Click A', 'Click B', 'Click C'])
      >>> {
            'Click A': {'Click B': False, 'Click C': False},
            'Click B': {'Click A': False, 'Click C': False},
            'Click C': {'Click A': False, 'Click B': False}
          }
  """
  for subtask in subtasks:
    toggle_outcomes.update({
        subtask: {s: False for s in subtasks if s != subtask}
    })
  return toggle_outcomes