input: def rewrite_code_in_another_language(original_code: str) -> str:
      """Given a code snippet in one programming language, rewrite it in another programming language.
      >>> rewrite_code_in_another_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)'
      """
output:     lines = original_code.split('\n')
      if 'let arr' in lines[0]:
          lines[0] = lines[0].replace('let arr', 'arr')
      if 'arr.forEach' in lines[1]:
          lines[1] = lines[1].replace('arr.forEach(item => {console.log(item * 2);});', 'for item in arr:\n    print(item * 2)')
      return '\n'.join(lines)