code: def needleman_wunsch(src, tar, gap_cost=1, sim_func=sim_ident):
      
      return NeedlemanWunsch().dist_abs(src, tar, gap_cost, sim_func)
docs: Return the Needleman-Wunsch score of two strings.
  
      This is a wrapper for :py:meth:`NeedlemanWunsch.dist_abs`.
  
      Parameters
      ----------
      src : str
          Source string for comparison
      tar : str
          Target string for comparison
      gap_cost : float
          The cost of an alignment gap (1 by default)
      sim_func : function
          A function that returns the similarity of two characters (identity
          similarity by default)
  
      Returns
      -------
      float
          Needleman-Wunsch score
  
      Examples
      --------
      >>> needleman_wunsch('cat', 'hat')
      2.0
      >>> needleman_wunsch('Niall', 'Neil')
      1.0
      >>> needleman_wunsch('aluminum', 'Catalan')
      -1.0
      >>> needleman_wunsch('ATCG', 'TAGC')
      0.0