<jupyter_start><jupyter_text>Lists 1. Create a list of numbers with variable L.The numbers are 4, 6, 8, 9.<jupyter_code>L = [4,6,8,9]<jupyter_output><empty_output><jupyter_text>2. Find the length of the list.<jupyter_code>len(L)<jupyter_output><empty_output><jupyter_text>3. Add number 11 in the list.<jupyter_code>L.append(11)
L<jupyter_output><empty_output><jupyter_text>4. Concatenate list with the list of [13, 17 and 20] to the list.<jupyter_code>L + [13, 17, 20]<jupyter_output><empty_output><jupyter_text>5. Sort the list in ascending order<jupyter_code>L.sort
L<jupyter_output><empty_output><jupyter_text>6. Does list can contain any values other than integers?<jupyter_code>L = [1, "two", 3.24, [0, 3,5]]
L<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.13154362416107382, 'fraction_numerical': 0.049664429530201344, 'mean_word_length': 7.776470588235294, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '6', 'dir': 'jupyter-structured-clean-dedup', 'id': '71217', 'license': 'MIT', 'n_tokens_mistral': 330, 'n_tokens_neox': 304, 'n_words': 68, 'path': 'Lesson04/.ipynb_checkpoints/Lists-checkpoint.ipynb', 'repo_name': 'KeyBlades/AI_course', 'size': '745'}