tab[::-1] 返回反向列表。
tab[::-1]
for i, val in enumerate(tab[::-1]): print(val, end=' ') if i and not i % 6: print()