code: def transpose_and_multiply(m, multiplier=1):
      """swap values along diagonal, optionally adding multiplier"""
      for row in range(len(m)):
          for col in range(row + 1):
              temp = m[row][col] * multiplier
              m[row][col] = m[col][row] * multiplier
              m[col][row] = temp
      return m
  
imports: import fractions
label_desc: Use image node_id 5 for calling a global function with example usage: transpose_and_multiply(m, multiplier) and returns: m