<jupyter_start><jupyter_text>Duplicate zeroes<jupyter_code>arr = [1,0,2,3,0,4,5,0]
i = 0
while i < len(arr)-1:
    if arr[i]==0:
        arr.insert(i+1,0)
        arr.pop(len(arr)-1)
        i = i+2
    else:
        i = i+1
arr<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1821705426356589, 'fraction_numerical': 0.06201550387596899, 'mean_word_length': 2.8656716417910446, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '268357', 'license': 'MIT', 'n_tokens_mistral': 128, 'n_tokens_neox': 126, 'n_words': 18, 'path': 'Array.ipynb', 'repo_name': 'Garima13a/Leetcode_solutions', 'size': '258'}