input: def convert_to_different_language(input_code: str, output_language: str) -> str:
      """
      Convert the given input code in one programming language to an equivalent code in another programming language.
      >>> convert_to_different_language('// JavaScript code\\nlet arr = [1, 2, 3, 4, 5];\\narr.forEach(item => {\\n console.log(item * 2);\\n});', 'Python')
      '# Python code\\narr = [1, 2, 3, 4, 5]\\nfor item in arr:\\n print(item * 2)'
      """
output:     if output_language == 'Python':
          if input_code.startswith('// JavaScript code'):
              input_code = input_code.replace('// JavaScript code', '# Python code')
              input_code = input_code.replace('let arr = ', 'arr = ')
              input_code = input_code.replace('arr.forEach(item => {', 'for item in arr:')
              input_code = input_code.replace('console.log(', 'print(')
              input_code = input_code.replace('});', '')
          return input_code