<jupyter_start><jupyter_text>Print the first ArmStrong number in the range of 1042000 to 702648265 and exit the loop as soonas you encounter the first armstrong number.Use while loopOutputThe first armstrong number is -----------<jupyter_code>for num in range(1042000, 702648265):
    order = len(str(num))
    temp=num
    sum=0
    
    while temp > 0:
             d=temp % 10
             sum += d ** order
             temp //= 10
    if sum == num:
        print(num)
        break<jupyter_output>1741725
{'fraction_non_alphanumeric': 0.09215686274509804, 'fraction_numerical': 0.08823529411764706, 'mean_word_length': 2.296774193548387, 'pattern_counts': {'":': 0, '<': 4, '<?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': '265634', 'license': 'Apache-2.0', 'n_tokens_mistral': 189, 'n_tokens_neox': 155, 'n_words': 54, 'path': 'day4 assignment 3.ipynb', 'repo_name': 'Pranjali9379/LetsUpgarde', 'size': '510'}