Python Fundamentals for Creating Experiments
Python Fundamentals for Creating Experiments
This unit introduces the basic building blocks required for creating experimental applications. In the first session, you’ll learn about Python’s different data types which enable you to store and operate on experimental parameters like trial lists or text prompts to participants. The second session introduces loops and conditionals which provide the tools for experimental flow control by allowing you to execute code for a certain number of times (e.g. to run multiple trials) or execute different code under different conditions (e.g. depending on wether the response given was correct).