<jupyter_start><jupyter_text>Assignment 4<jupyter_code>#Armstrong Problem
i=1042000
num=0

while i<702648265:
    num=i
    reverse=0
    dig=0
    while num>0 :
        dig=num%10
        reverse=(10*reverse)+dig
        num//=10

    if i==reverse:
        print("The first armstrong number is:",i)
        break
    i +=1<jupyter_output>The first armstrong number is: 1042401
{'fraction_non_alphanumeric': 0.10582010582010581, 'fraction_numerical': 0.09259259259259259, 'mean_word_length': 2.8282828282828283, 'pattern_counts': {'":': 0, '<': 5, '<?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': '532774', 'license': 'Apache-2.0', 'n_tokens_mistral': 159, 'n_tokens_neox': 140, 'n_words': 30, 'path': 'Assignment 4.ipynb', 'repo_name': 'Muskan-18/letsupegrade-essential', 'size': '378'}