code: def generate_conditions(num_conditions=3, maxpos=10):
      conditions = []
      poses = []
      random_word = random.choice(words.words())
      for _ in range(num_conditions):
          # letter = random.choice(string.ascii_lowercase)
  
          position = random.randint(1, min(maxpos, len(random_word)))
          while position in poses:
              position = random.randint(
                  1, min(maxpos, len(random_word))
              )
          poses.append(position)
          letter = random_word[position - 1].lower()
          conditions.append((position, letter))
      return conditions
  
imports: import requests
  import os
  import pickle
  import random
  from tqdm import tqdm
  from nltk.corpus import words
label_desc: Use image node_id 12 for calling a global function with example usage: generate_conditions(num_conditions, maxpos) and returns: conditions