<jupyter_start><jupyter_text>Challenge: Ramdomizing an Iterable using sorted<jupyter_code>import random
help(random.random)
random.random()
l = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
sorted(l, key=lambda x: random.random())<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.15040650406504066, 'fraction_numerical': 0.044715447154471545, 'mean_word_length': 7.821428571428571, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '386055', 'license': 'Unlicense', 'n_tokens_mistral': 111, 'n_tokens_neox': 99, 'n_words': 24, 'path': 'my_classes/FirstClassFunctions/Challenge_randomize_an_iterable.ipynb', 'repo_name': 'minefarmer/deep-Dive-1', 'size': '246'}