STEP 7: Your program uses a function rule to create a y-value for every x-value you pass into the loop.
We can use an .append() command to add values to our empty outputs list.
- Select the LOGIC tab in the toolkit and click on .
- Drag out Append. Drop it INSIDE your loop.
- Change the name in front of the command to outputs. Change the variable in parentheses to y.