<jupyter_start><jupyter_text>Forming Teams<jupyter_code>from itertools import combinations, permutations
cards = ['A', 'K', 'Q', 'J', 2,3,4,5,6,7,8,9,10] * 4
hands = list(combinations(cards,2))
len(hands)
names = ['Bill', 'Jack', 'Zoe', 'Ted', 'Henry', 'Ava']
list(combinations(names,2))<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.21451104100946372, 'fraction_numerical': 0.04100946372239748, 'mean_word_length': 10.357142857142858, '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': '180192', 'license': 'MIT', 'n_tokens_mistral': 143, 'n_tokens_neox': 132, 'n_words': 24, 'path': 'Section 6/6.4-combinations.ipynb', 'repo_name': 'PacktPublishing/The-Modern-Python-Challenge-v-', 'size': '317'}