code: def template(string, **kwargs):
      """Format a string using double braces"""
      return _swap_curly(string).format(**kwargs)
  
imports: from __future__ import division
  import re
  from decimal import Decimal
  from math import ceil, cos, floor, log10, pi, sin
label_desc: Use image node_id 10 for calling a global function with example usage: template(string) and returns: _swap_curly