如何防止 print() 重复每一行?

how to prevent print() from repeating every alternate line?

当我 运行 这个:

arr=[[2,3,4],[3,4,2]]

for i in arr:
    print(*i)
    print{'-----')

我的输出是这样的,

2 3 4
-----
4 5 6
-----

如何获得此输出?:

2 3 4
4 5 6
-----
arr=[[2,3,4],[3,4,2]]

for i in arr:
    print(*i)

print('-----')
arr=[[2,3,4],[3,4,2]]

for i in arr:
    print(*i)
print('-----')