<jupyter_start><jupyter_text>05 - Beginner Exercises*   Tuple*   Set     🍐🍐🍐 1.print the first,third and the last element of tuple below.<jupyter_code># Write your own code in this cell 
mytuple = ("red", "orange", "yellow", "chartreuse green",
           "green", "spring green", "cyan", "azure", "blue",
           "violet", "magenta", "rose", "azure")

print()<jupyter_output><empty_output><jupyter_text>🍐🍐🍐 2.What's the index of **"violet"** and **"rose"**?<jupyter_code>mytuple = ("red", "orange", "yellow", "chartreuse green",
           "green", "spring green", "cyan", "azure", "blue",
           "violet", "magenta", "rose", "azure")

print()<jupyter_output><empty_output><jupyter_text>🍐🍐🍐 3.How many times does **"azure"** occur?<jupyter_code># Write your own code in this cell 
mytuple = ("red", "orange", "yellow", "chartreuse green",
           "green", "spring green", "cyan", "azure", "blue",
           "violet", "magenta", "rose", "azure")

print()<jupyter_output><empty_output><jupyter_text>🍐🍐🍐 4.What is the **sum** of all the numbers in the tuple below?Find the **maximum**, **minimum** ,**count** and **mean** of this tuple.<jupyter_code># Write your own code in this cell 
mytuple = (47, 2, 3, 5, 7, 11, 79, 13, 17, 19, 23, 29,31,
           89, 41, 43, 53, 59, 61, 67, 71, 73, 83, 37, 97)<jupyter_output><empty_output><jupyter_text>🍐🍐🍐 5.Create a Set of one-digit prime numbers and store it in the ```primes``` variable and print it.<jupyter_code># Write your own code in this cell 
primes =<jupyter_output><empty_output><jupyter_text>🍐🍐🍐 6.The following is a set of prime numbers less than 1000.Can you check to see if the numbers **463**, **149**, and **973** are prime? Which is better for determining the presence or absence of an item in a group of items, a list or a set?<jupyter_code># Write your own code in this cell 
primes = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41,
          43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97,
          101, 103, 107, 109, 113, 127, 131, 137, 139, 149,
          151, 157, 163, 167, 173, 179, 181, 191, 193, 197,
          199, 211, 223, 227, 229, 233, 239, 241, 251, 257,
          263, 269, 271, 277, 281, 283, 293, 307, 311, 313,
          317, 331, 337, 347, 349, 353, 359, 367, 373, 379,
          383, 389, 397, 401, 409, 419, 421, 431, 433, 439,
          443, 449, 457, 461, 463, 467, 479, 487, 491, 499,
          503, 509, 521, 523, 541, 547, 557, 563, 569, 571,
          577, 587, 593, 599, 601, 607, 613, 617, 619, 631,
          641, 643, 647, 653, 659, 661, 673, 677, 683, 691,
          701, 709, 719, 727, 733, 739, 743, 751, 757, 761,
          769, 773, 787, 797, 809, 811, 821, 823, 827, 829,
          839, 853, 857, 859, 863, 877, 881, 883, 887, 907,
          911, 919, 929, 937, 941, 947, 953, 967, 971, 977,
          983, 991}
check_13 = 13 in primes
print("13 is prime: ",check_719)<jupyter_output>13 is prime:  True<jupyter_text>🍐🍐🍐 7.Oops! apparently one of the prime numbers below One thousand, **997**, is missing. Can you add it to ```primes``` vaiable?Then check to see if **997** is  in **primes** variable.<jupyter_code># Write your own code in this cell<jupyter_output><empty_output><jupyter_text>🍐 8.Make a set of multiples of 3 and name it **X**.Make a set of multiples of   5 and name it **Y**. Can you find the multiples of 15 using the ***&*** operator and store it in variable **Z1**?  Can you find the multiples of 15 using the ```intersection()``` method and store it in variable **Z2**?<jupyter_code># Write your own code in this cell 
X = {}
Y = {}
Z1 =
print(Z1)
Z2 = 
print(Z2)<jupyter_output><empty_output><jupyter_text>🍐9.Now we have got the multiples of 15 and saved it in **Z1**, we also saved the multiples of 5  in the **Y**. I want you to find the multiples of 5  that are not divisible by 3.hint: use the operator ***-*** or use the ```difference()``` method<jupyter_code># Write your own code in this cell<jupyter_output><empty_output><jupyter_text>🍐10.In the previous exercises, we stored the multiples of 3 in the X variable and the multiples of 5 in the Y variable. Use the **+** operators or the ```union()``` method to make a list of numbers that are either divisible by 5 or divisible by 3, or divisible by both.<jupyter_code># Write your own code in this cell<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.14979195561719832, 'fraction_numerical': 0.13476652797041147, 'mean_word_length': 3.713507625272331, 'pattern_counts': {'":': 0, '<': 40, '<?xml version=': 0, '>': 40, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 24, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '10', 'dir': 'jupyter-structured-clean-dedup', 'id': '142237', 'license': 'MIT', 'n_tokens_mistral': 2114, 'n_tokens_neox': 1593, 'n_words': 615, 'path': 'Exercise/.ipynb_checkpoints/05_PyEx-checkpoint.ipynb', 'repo_name': 'pytopia/PyExercises', 'size': '4326'}