#coding=utf-8 lookup = [ [2, 5, 3, 4], [4, 3, 5, 2], [0, 4, 1, 5], [5, 1, 4, 0], [2, 0, 3, 1], [1, 3, 0, 2] ] def check_seq(a, b): biaobing = a[0] a_index = 0 b_index = 0 for i, item in enumerate(b): if item == biaobing: b_index = i f...