<jupyter_start><jupyter_text><jupyter_code># list of tuples 
contacts = [("noman",1),("husnain",2),("azfar",3)]

print(contacts)
contacts[0][0]
type(contacts[0][0])
# lets loop through
for name,value in contacts:
  print(f"name is {name} and value is {value}".format(name,value))

searched_name = input('Enter the name of guy ')
for name,value in contacts:
  if name == searched_name:
    print(f"{name} is {value}".format(name,value))
    break
else:
  print("Not found")<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1693227091633466, 'fraction_numerical': 0.013944223107569721, 'mean_word_length': 6.507462686567164, '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': '610474', 'license': 'MIT', 'n_tokens_mistral': 193, 'n_tokens_neox': 192, 'n_words': 43, 'path': 'tuple_problem.ipynb', 'repo_name': 'Noman-Nosher/Data-Science-Tasks', 'size': '502'}