<jupyter_start><jupyter_text>Day 4 Assignment<jupyter_code>upper = 702648265
lower = 1042000

for num in range (lower,upper+1):
    order = len(str(num))
    sum = 0
    temp = num
    while temp > 0:
        x= temp%10
        sum+=x**order
        temp//=10
        
        if num==sum:
             print(num)
                break<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1095890410958904, 'fraction_numerical': 0.06575342465753424, 'mean_word_length': 1.975609756097561, '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': '273447', 'license': 'Apache-2.0', 'n_tokens_mistral': 147, 'n_tokens_neox': 128, 'n_words': 28, 'path': 'day4assignment.ipynb', 'repo_name': 'nirmith29/letsupgrade-Python', 'size': '365'}