<jupyter_start><jupyter_text>Question 1<jupyter_code>%%writefile prime_number

def prime(num_n):
    if num_n == 1:
        return False
    for i in range(2, num_n):
        if num_n%i == 0:
            return False
        return True
! pip install pylint
! pylint "prime_number"<jupyter_output>************* Module prime_number
prime_number:1:0: C0114: Missing module docstring (missing-module-docstring)
prime_number:2:0: C0116: Missing function or method docstring (missing-function-docstring)

------------------------------------------------------------------

Your code has been rated at 7.14/10 (previous run: 7.14/10, +0.00)<jupyter_text>Question 2<jupyter_code>print("Enter 'x' for exit")
print("Enter the interval (starting and ending number): ")
start = input()
if start == 'x':
    exit()
else:
    end = input()
    lower = int(start)
    upper = int(end)
    for num in range (lower,upper+1):
        tot = 0
        temp = num
        while temp!=0:
            digit = temp % 10
            tot +=digit **3
            temp//=10
        if num == tot:
            print(num)<jupyter_output>Enter 'x' for exit
Enter the interval (starting and ending number): 
1
1000
1
153
370
371
407
{'fraction_non_alphanumeric': 0.16736053288925895, 'fraction_numerical': 0.0466278101582015, 'mean_word_length': 2.357541899441341, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '577996', 'license': 'Apache-2.0', 'n_tokens_mistral': 418, 'n_tokens_neox': 378, 'n_words': 117, 'path': 'Assignment Day 9.ipynb', 'repo_name': 'sowjanya609/sowjanya-python-B7', 'size': '1201'}