<jupyter_start><jupyter_text><jupyter_code>#Question 4

for num in range(1042000,702648265):
    order=len(str(num))
    temp=num
    sum=0
    while temp >0:
        digit=temp%10
        sum=sum+digit**order
        temp=temp//10
        
        break
    if sum==num:
            
            print('The first armstrong number is ',num)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.11081081081081082, 'fraction_numerical': 0.062162162162162166, 'mean_word_length': 2.2831858407079646, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, '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': '163839', 'license': 'Apache-2.0', 'n_tokens_mistral': 144, 'n_tokens_neox': 129, 'n_words': 24, 'path': 'LU_Python_DAY_4_Assignment.ipynb', 'repo_name': 'D-K-2000/D-K-2000-LetsUpgrade-Python', 'size': '370'}