input: def rewrite_code_to_different_language(javascript_code: str) -> str:
      """Given a string of JavaScript code, rewrite it in Python.
      >>> rewrite_code_to_different_language("let arr = [1, 2, 3, 4, 5];\\narr.forEach(item => { console.log(item * 2); });")
      "arr = [1, 2, 3, 4, 5]\\nfor item in arr:\\n print(item * 2)"
      >>> rewrite_code_to_different_language("let arr = [10, 20, 30];\\narr.forEach(item => { console.log(item / 2); });")
      "arr = [10, 20, 30]\\nfor item in arr:\\n print(item / 2)"
      """
output:     javascript_code = javascript_code.replace("let ", "")
      javascript_code = javascript_code.replace("arr.forEach(item => { console.log(", "for item in arr:\n print(")
      javascript_code = javascript_code.replace("); });", ")")
      return javascript_code