text: import { NotImplementedError } from "../extensions/index.js";
  
  /**
   * Calculate turns number and time (in seconds) required
   * to solve puzzle
   *
   * @param {Number} disks number of disks
   * @param {Number} turnsSpeed speed (in turns/hour)
   * @return {Object} object with props turns (number of turns)
   * and seconds (time in seconds)
   *
   * @example
   *
   * calculateHanoi(9, 4308) => { turns: 511, seconds: 427 }
   *
   */
  export default function calculateHanoi(disksNumber, turnsSpeed) {
    let newO = {};
    newO.turns = Math.pow(2, disksNumber) - 1;
    newO.seconds = Math.floor((newO.turns * 3600) / turnsSpeed);
    return newO;
    //console.log(obj.turns);
    //throw new CustomError('Not implemented');
    // remove line with error and write your code here
  
    throw new NotImplementedError("Not implemented");
    // remove line with error and write your code here
  }
  