code: def print_cut(g, nodes):
      for n in range(nodes):
          print("{} in {}".format(n, g.what_segment(n)))
  
file_path: medpy/lib/maxflow/src/sum_edge_test.py
imports: from maxflow import GraphDouble, GraphFloat, GraphInt
  import random
label_desc: Use image node_id 6 for calling a global function with example usage: print_cut(g, nodes) without return types