<jupyter_start><jupyter_text>Iteration<jupyter_code>x = 5
x
y = 7
y
a = 5
b = a
a = 3
b
x = 0
x = x + 1
def countdown(n):
    while n > 0:
        print(n)
        n = n - 1
    print('Blastoff!')
    
countdown(3)
def sequence(n):
    while n != 1:
        print(n)
        if n % 2 == 0: # n is even
            n = n / 2
        else: # n is odd
            n = n*3 + 1
            
sequence(5)
while True:
    line = input('> ')
    if line == 'done':
        break
        print(line)
        print('Done!')<jupyter_output>> Hello
> input is going to work untill keyword 'done'
> done
{'fraction_non_alphanumeric': 0.13242784380305603, 'fraction_numerical': 0.027164685908319185, 'mean_word_length': 1.6106194690265487, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 9, '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': '225643', 'license': 'MIT', 'n_tokens_mistral': 242, 'n_tokens_neox': 228, 'n_words': 73, 'path': 'python/iteration.ipynb', 'repo_name': 'piszewc/python-deep-learning-data-science', 'size': '589'}