<jupyter_start><jupyter_text>Assignment: Due Tuesday, Mar 16, 2021  Exercise 1Create a list called *rainbow* containing 'green', 'orange' and 'violet'. Perform the following operations consecutively using list methods and show the list's content after each operation:    a. Determine the index of 'violet' then use it to insert 'red' before 'violet'.        Hint: use rainbow.insert() and rainbow.index() methods           b. Append 'yellow' to the end of the list. Hint: use rainbow.append() method.        c. Reverse the list's elements. Hint: use rainbow.reverse()        d. Remove the element 'orange'. Hint: use rainbow.remove()<jupyter_code># Write your answers here<jupyter_output><empty_output><jupyter_text>Exercise 2Write the code to determine the first power of 7 greater than 1000<jupyter_code># Write your answers here<jupyter_output><empty_output><jupyter_text>Exercise 3Use the *range* function and *for* statement to calcluate the total of the integers from 0 through 1,000,000.<jupyter_code># Write your answers here<jupyter_output><empty_output><jupyter_text>Exercise 4Map a list of the three Farenheit temparatures 41, 32, 212 to a list of tuples containing the Fahrenheit temparatures and their Celsius equivalents. Convert Ferenheit temperatures to Celcius tiwht the following forumla:    Celcsius = (Farenheit - 32) * (5/9)<jupyter_code># Write your answers here<jupyter_output><empty_output><jupyter_text>Bonus:Write a code that will print the 10,000th prime number.A prime number is number greater than 1 that is not a product of two smaller numbers greater than 1.Examples: 5 is the third prime number, it can only be a product of 1 and 5.6 is not a prime, it is the product of 2 and 3, both smaller numbers than 6 and greater than 1.<jupyter_code># Write your answers here<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.0711159737417943, 'fraction_numerical': 0.026805251641137857, 'mean_word_length': 5.117056856187291, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '5', 'dir': 'jupyter-structured-clean-dedup', 'id': '329024', 'license': 'MIT', 'n_tokens_mistral': 582, 'n_tokens_neox': 524, 'n_words': 235, 'path': 'notebooks/5_assignment.ipynb', 'repo_name': 'ac-analytics/python-basic-training', 'size': '1828'}