Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Short solution in 3rd party category for Hubspot Amulet by Rcp8jzd
import numpy as np
import itertools
GOAL = (0, 225, 315)
def checkio(matrix):
for angles in itertools.product(range(-180, 180, 45), repeat=3):
levers = np.matmul(angles, matrix) % 360
if tuple(levers) == GOAL:
return angles
Nov. 3, 2020
Comments: