<jupyter_start><jupyter_text>1. Write a program which will find all such numbers which are divisible by 7 but are not a multiple of 5, between 2000 and 3200 (both included). The numbers obtained should be printed in a comma-separated sequence on a single line.<jupyter_code>for num in range(2000,3201):
    if (num%7==0) & (num%5!=0):
        print(num, end = ',')<jupyter_output>2002,2009,2016,2023,2037,2044,2051,2058,2072,2079,2086,2093,2107,2114,2121,2128,2142,2149,2156,2163,2177,2184,2191,2198,2212,2219,2226,2233,2247,2254,2261,2268,2282,2289,2296,2303,2317,2324,2331,2338,2352,2359,2366,2373,2387,2394,2401,2408,2422,2429,2436,2443,2457,2464,2471,2478,2492,2499,2506,2513,2527,2534,2541,2548,2562,2569,2576,2583,2597,2604,2611,2618,2632,2639,2646,2653,2667,2674,2681,2688,2702,2709,2716,2723,2737,2744,2751,2758,2772,2779,2786,2793,2807,2814,2821,2828,2842,2849,2856,2863,2877,2884,2891,2898,2912,2919,2926,2933,2947,2954,2961,2968,2982,2989,2996,3003,3017,3024,3031,3038,3052,3059,3066,3073,3087,3094,3101,3108,3122,3129,3136,3143,3157,3164,3171,3178,3192,3199,<jupyter_text>2. Write a Python program to accept the user's first and last name and then getting them printed in the the reverse order with a space between first name and last name<jupyter_code># https://www.w3schools.com/python/python_howto_reverse_string.asp
def reverse(name):
    return name[::-1]
def reverse_order(first_name,last_name):
    print(f'The Name in reverse order is: {last_name} {first_name}')

first_name = input("Enter First Name: ")
last_name = input("Enter Last Name: ")

rev_first_name = reverse(first_name)
rev_last_name = reverse(last_name)

print(f'Can you read my name now: {rev_first_name} {rev_last_name}')
reverse_order(first_name,last_name)<jupyter_output>Enter First Name: Black 
Enter Last Name: Mamba
Can you read my name now:  kcalB abmaM
The Name in reverse order is: <NAME><jupyter_text>3.Write a Python program to find the volume of a sphere with diameter 12 cm.   Formula: V=4/3 * π * r 3<jupyter_code>from math import pi
def volume(radius):
    return (4/3 * pi * (radius**3))

diameter = 12
radius = diameter/2
vol_sphere = volume(radius)
print(f'The volume of sphere is: {vol_sphere}')<jupyter_output>The volume of sphere is: 904.7786842338603<jupyter_text>4.Write a program which accepts a sequence of comma-separated numbers from console and generate a list.<jupyter_code>input_sequence = input("Enter Sequence of comma-separated numbers: ")
generated_list = list(input_sequence.split(","))
print(f'The gemerated sequence is: {generated_list}')<jupyter_output>Enter Sequence of comma-separated numbers: 3,6,9
The gemerated sequence is: ['3', '6', '9']<jupyter_text>5. Create the below pattern using nested for loop in Python.   *  * *  * * * * * * *  * * * * *  * * * *  * * *  * *  *<jupyter_code>n= 5 #number of maximum stars

for i in range(n):
    for j in range(i):
        print("*"," ",end="")
    print('')
        
for i in range(n,0,-1):
    for j in range(i):
        print("*"," ",end="")
    print('')<jupyter_output>*  
*  *  
*  *  *  
*  *  *  *  
*  *  *  *  *  
*  *  *  *  
*  *  *  
*  *  
*<jupyter_text>6. Write a Python program to reverse a word after accepting the input from the user.  Sample Output:  Input word: iNeuron  Output: norueNi<jupyter_code>def reverse(string):
    return string[::-1]

inp_str = input("Enter the word: ")
print(f'The word in reverse order: {reverse(inp_str)}')<jupyter_output>Enter the word: iNeuron
The word in reverse order: norueNi<jupyter_text>7. Write a Python Program to print the given string in the format specified in the ​sample output.  WE, THE PEOPLE OF INDIA, having solemnly resolved to constitute India into a SOVEREIGN, SOCIALIST, SECULAR, DEMOCRATIC REPUBLIC and to secure to all its citizens  Sample Output:  WE, THE PEOPLE OF INDIA,   having solemnly resolved to constitute India into a SOVEREIGN, !  SOCIALIST, SECULAR, DEMOCRATIC REPUBLIC    and to secure to all its citizens<jupyter_code>print("WE, THE PEOPLE OF INDIA", "\n","\t","having solemnly resolved to constitute India into a SOVEREIGN, ! ", "\n","\t","\t", "SOCIALIST, SECULAR, DEMOCRATIC REPUBLIC", "\n","\t","\t","and to secure to all its citizens")<jupyter_output>WE, THE PEOPLE OF INDIA 
 	 having solemnly resolved to constitute India into a SOVEREIGN, !  
 	 	 SOCIALIST, SECULAR, DEMOCRATIC REPUBLIC 
 	 	 and to secure to all its citizens
{'fraction_non_alphanumeric': 0.1264786169244768, 'fraction_numerical': 0.1410373066424022, 'mean_word_length': 5.409620991253644, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, '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': '7', 'dir': 'jupyter-structured-clean-dedup', 'id': '274153', 'license': 'MIT', 'n_tokens_mistral': 2016, 'n_tokens_neox': 1649, 'n_words': 425, 'path': 'Deep Learning/Assignment -1.ipynb', 'repo_name': 'deepchatterjeevns/Ineuron.ai', 'size': '4401'}