I am completely new to Psychopy and wanted to build an experiment which presents 9 strings (consonants) respectively for a number of times (100 iterations). The 9 consonants are randomly chosen from the list of all of the consonants in each round. But I don’t know how to extract just 9 items from the whole list. If I need to write code, I would appreciate it if you describe the details.
Thanks in advance.
P.S. I know the python code would be something like this (for clarifications only):
consonants = [list_of_consonants] target_list_for_a_loop =  for i in range(9): target_list_for_a_loop.append(random.choice(consonants))