<jupyter_start><jupyter_text>Name:<NAME> No: 2012012034 Email:<EMAIL> Exercise Description: Programming    Exercise I***A python programme to get the difference between a given number and 17, if the number is greater than 17 return double the absulute difference***<jupyter_code>j = int(input("Input given number"))
k = 17
l = j - k

if j > k:
    m = 2 * l
    print(m)
if j < k:
    y = l * (-1)
    print(y)<jupyter_output>Input given number11
6<jupyter_text>**Exercise II*****A python programme to calculate the sum of three given numbers, if the values are equal, then return thrice the value of their sum***<jupyter_code>A = int(input("Enter first number"))
B = int(input("Enter second number"))
C = int(input("Enter third number"))
 
if A == B == C:
    v = A + B + C
    q= v*3
    print(q)

else:
    v = A + B + C
    print(v)<jupyter_output>Enter first number3
Enter second number4
Enter third number5
12<jupyter_text>**Exercise III*****A python programme to return true if the values of two given integers are equal to their sum or difference is 5***<jupyter_code>V = float(input("Enter given integer"))
K = float(input("Enter given integer"))
w = V + K
if V == K:
    print ("True")
    
if w == 5:
    print ("True")

g = V - K    
if g == 5:
    print ("True")
X = int(input("Input an integer: "))
Y = int(input("Input an integer: "))
Z = int(input("Input an integer: "))

Mx = max(X,Y,Z)
Mn = min(X,Y,Z)
total = X+Y+Z
Mid = total - Mx - Mn
print(f"Maximum: {Mx}, middle: {Mid}, Minimum: {Mn}")<jupyter_output>Input an integer: 3
Input an integer: 4
Input an integer: 5
Maximum: 5, middle: 4, Minimum: 3<jupyter_text>Exercise V***Write a Python function that takes a positive integer and returns the sum of the cube of all the positive integers smaller than the specified number***<jupyter_code>def sum_of_cubes(x):
    x-= 1
    
    total = 0
    while x > 0:
        total += x * x * x
        x-= 1
    return total
print("sum of cubes: ", sum_of_cubes(5))<jupyter_output>sum of cubes:  100
{'fraction_non_alphanumeric': 0.12842210054753608, 'fraction_numerical': 0.021901443504230962, 'mean_word_length': 3.7630331753554502, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 17, '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': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '251086', 'license': 'MIT', 'n_tokens_mistral': 743, 'n_tokens_neox': 689, 'n_words': 263, 'path': '.ipynb_checkpoints/lab_exercise-checkpoint-checkpoint.ipynb', 'repo_name': '153B0R/153BoRCSC102', 'size': '2041'}