Accept suggestions from new toolchain · rec/blocks@89efb78

Original file line numberDiff line numberDiff line change

@@ -1,6 +1,5 @@

11

#!/usr/bin/python

22
3-

from __future__ import print_function

43
54

"""

65

I have these four blocks each painted with four colors

@@ -46,14 +45,14 @@ def rotations():

4645

Rotating Side 0 "right" - permuting (0, 2, 5, 4)

4746

"""

4847
49-

def twist(f, u, r, a, l, b):

50-

return f, r, a, l, u, b

48+

def twist(f, u, r, a, L, b):

49+

return f, r, a, L, u, b

5150
52-

def up(f, u, r, a, l, b):

53-

return u, b, r, f, l, a

51+

def up(f, u, r, a, L, b):

52+

return u, b, r, f, L, a

5453
55-

def right(f, u, r, a, l, b):

56-

return l, u, f, a, b, r

54+

def right(f, u, r, a, L, b):

55+

return L, u, f, a, b, r

5756
5857

def enumerate():

5958

perm = tuple(range(6))