input: 
  def rewrite_in_different_language(input_code: str, output_language: str) -> str:
      """Given an input code written in one programming language, rewrite it in another programming language.
      >>> rewrite_in_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]\\n\\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 => {", "")
              input_code = input_code.replace("console.log(item * 2);", "print(item * 2)")
              input_code = input_code.replace("});", "")
              input_code = input_code.replace("\\n", "\n")
              input_code = input_code.replace("console.log(", "print(")
              input_code = input_code.replace(");", ")")
              return input_code
      return ""