koma=["王","金","銀","王","金","銀"] ban=[] ban.append([0,0]) for y1 in [1,2,3]: for x1 in [1,2,3]: ban.append([x1,y1]) print(ban)