# Ranomization the blocks order

**URL:** <https://discourse.psychopy.org/t/ranomization-the-blocks-order/41414>\
**Category:** Builder\
**Tags:** randomization, pavlovia\
**Created:** [September 15, 2024, 1:32pm UTC](https://discourse.psychopy.org/t/ranomization-the-blocks-order/41414 "2024-09-15T13:32:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RolaWakid](https://avatars.discourse-cdn.com/v4/letter/r/b38774/32.png) [@RolaWakid](https://discourse.psychopy.org/u/RolaWakid)\
**Post date:** [September 15, 2024, 1:32pm UTC](https://discourse.psychopy.org/t/ranomization-the-blocks-order/41414/1 "2024-09-15T13:32:10Z")

</div>

Hi,  
I want to switch between two different blocks, in one block there are 30 trials of the word and the word’s record, in the second block I have only 6 words, the word record, and yes /no question, so the second block appears randomly with the question to make participants keep attention. I made two inner loops with one outer loop contain condition repetition and it didn’t work.  
Thank you !  
[randomization.xlsx.xlsx](https://discourse.psychopy.org/uploads/short-url/lP4tuO3EMofHCYODM0k69LKEnaL.xlsx) (8.7 KB)

 ![20240915_163026](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/a/5/a55736910a2d86c663e44fe80fb54617cec2a2f6.jpeg)
