对于list:
a = [0,1,2]对于tuple:
b = tile (a, 2)
b
-------array ( [0,1,2,0,1,2] )
b = tile ( a, (1,2) ) #一行,两个
b
--------array( [ [0,1,2,0,1,2] ] )
b = tile (a, (2,1) ) #两行,各一个(也可以改为3......等)
b
--------array( [ [0,1,2],
[0,1,2] ] )