Explain in 1–2 sentences how an experiment must be written so that the participants can be randomly assigned.

An experiment must be written in a way that ensures each participant has an equal chance of being assigned to any experimental condition or group through a random selection process. This can be achieved by using a random number generator, randomized assignment software, or a random drawing method.