Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def calc_cycle_num_from_algorithm(algorithm):
- cube = Cube()
- count = 0
- while count == 0 or not cube.solved():
- count += 1
- cube.apply_algorithm(algorithm)
- return count
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement