jan1
April 25, 2021, 5:11am
1
Fully aware this is a stupid question, but…
I have been using the builder and have finally reached a step where I need to use code:
if random() >.5:
useSheet = group1.xlsx
else:
useSheet = group2.xlsx
Where do I add this? How do I add this? Can it go anywhere within the code page or wherever it should go?
Thanks,
Jan
Hey buddy
Here’s how I added codes:
Now, I’m no expert in coding myself, but when you add the code component, you click on it and this appears
in which you can add your code depending on where you want it to appear. If you want this code to appear every routine, then you type it in
Begin Routine and etc etc.
Hope this helped.
1 Like