<jupyter_start><jupyter_text>For Loop<jupyter_code>x = [1,2,3]
x
for a in x:
    print(a)
for i in x:
    print(i+10)
range(10)
for i in range(10):
    print(i)
a = ['apple','orange','banana','melon']
b = [1,0,2]
for i in b:
    print(a[i])<jupyter_output>orange
apple
banana<jupyter_text>While Loop<jupyter_code>t = 0
while t < 10:
    print(t)
    t = t+1
a = []
b = 1
while len(a) < 10:
    a.append(b)
    print(a)
    b = b + 3
a
len(a)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1762208067940552, 'fraction_numerical': 0.04246284501061571, 'mean_word_length': 3.6732673267326734, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 8, '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': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '538572', 'license': 'MIT', 'n_tokens_mistral': 245, 'n_tokens_neox': 229, 'n_words': 52, 'path': 'data/04. Python Tips #For, While.ipynb', 'repo_name': 'goldang01/E-Commerce', 'size': '471'}