code: def subdict(super_dict, keys):
      
      sub_dict = {}
      valid_keys = super_dict.keys()
      for key in keys:
          if key in valid_keys:
              sub_dict[key] = super_dict[key]
  
      return sub_dict
docs: Returns a subset of the super_dict with the specified keys.