if __name__=='__main__': def trans(nums): a1,a2,a3,a4,a5,a6=nums ans=[ [a1,a2,a3,a4,a5,a6],[a4,a3,a1,a2,a5,a6],[a3,a4,a2,a1,a5,a6],[a2,a1,a4,a3,a5,a6], [a1,a2,a4,a3,a6,a5],[a2,a1,a3,a4,a6,a5],[a4,a3,a2,a1,a6,a5],[a3,a4,a1,a2,a6,a5], [a1,a2,a5,...