<jupyter_start><jupyter_text>Exercise. Create a program that checks if a number is an Armstrong Number or not.Hint: Armstrong number is a number that is equal to the sum of cubes of its digits. For example 0, 1, 153, 370, 371 and 407 are the Armstrong numbers.<jupyter_code>while True:
    n = input("Enter a positive integer to check if it is an Armstrong Number or not: ")
    if n == "":
        break
    sumCube = 0
    for digit in n:
        sumCube += int(digit)**3
    if sumCube == int(n):
        print(n + " is an Armstrong Number.")
    else:
        print(n + " is NOT an Armstrong Number.")<jupyter_output>Enter a positive integer to check if it is an Armstrong Number or not: 849
849 is NOT an Armstrong Number.
Enter a positive integer to check if it is an Armstrong Number or not: 371
371 is an Armstrong Number.
Enter a positive integer to check if it is an Armstrong Number or not:
{'fraction_non_alphanumeric': 0.06659267480577137, 'fraction_numerical': 0.03107658157602664, 'mean_word_length': 3.1953488372093024, 'pattern_counts': {'":': 1, '<': 4, '<?xml version=': 0, '>': 4, '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': '547208', 'license': 'Unlicense', 'n_tokens_mistral': 289, 'n_tokens_neox': 251, 'n_words': 140, 'path': 'Armstrong Number.ipynb', 'repo_name': 'Parv-Joshi/School-Python-Codes', 'size': '901'}