code: def get_from_dicts(dict1, key, default_value, dict2, extra=''):
      
  
      value=default_value
  
      if key not in dict1:
         if dict2!=None:
            value=dict2.get(extra+key, default_value)
      else:
         value=dict1[key]
         del(dict1[key])
  
         if dict2!=None:
            dict2[extra+key]=value
  
      return value
docs: Input:  dict1         - first check in this dict (and remove if there)
              key           - key in dict1
              default_value - default value if not found
              dict2         - then check from here
  
      Output: value