<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def fmt_cut(cut):
 """Format a |Cut|."""

    return 'Cut {from_nodes} {symbol} {to_nodes}'.format(
        from_nodes=fmt_mechanism(cut.from_nodes, cut.node_labels),
        symbol=CUT_SYMBOL,
        to_nodes=fmt_mechanism(cut.to_nodes, cut.node_labels))