for i in range(3): exec('saved_path_{} = "7_26_DPPO_step_5_piece_6_{}"'.format(i, 15+2*i)) for i in range(3): exec('print(saved_path_{}, end=" ")'.format(i))
本文共 217 字,大约阅读时间需要 1 分钟。
for i in range(3): exec('saved_path_{} = "7_26_DPPO_step_5_piece_6_{}"'.format(i, 15+2*i)) for i in range(3): exec('print(saved_path_{}, end=" ")'.format(i))
转载于:https://www.cnblogs.com/lin-kid/p/10631646.html