code: def conditions_to_prompt(conditions):
      prompt = "Is there a word where:\n"
      constraints = []
      for pos, letter in conditions:
          if pos == 1:
              constraint = f"- The 1st letter is {letter}"
          elif pos == 2:
              constraint = f"- The 2nd letter is {letter}"
          elif pos == 3:
              constraint = f"- The 3rd letter is {letter}"
          else:
              constraint = f"- The {pos}th letter is {letter}"
          prompt += constraint + "\n"
          constraints.append(constraint)
      return prompt, constraints
  
imports: import requests
  import os
  import pickle
  import random
  from tqdm import tqdm
  from nltk.corpus import words
label_desc: Use image node_id 11 for calling a global function with example usage: conditions_to_prompt(conditions) and returns: prompt,  constraints