A+ Computer Science
LISTS ADD & DELETE
Lab Goal: This lab was designed to teach you how to use lists in Scratch.
Lab Description: Write a program in Scratch that will use a list. The list will store a group of words
entered by the user.
Step One:: Go to the variables / data section I make a list named words. Go to the variables / data
section and make variables named numWords and spot. Words will store the words, numWords will store the
number of words, and spot will be used to access each word.
Step Two: Add in code so that when the green flag is clicked an input box appears asking for the number of
words to be stored. Next, a loop should run to input the number of words specified. Add each word to the
words list.
Step Three: Create another section of code that when the space bar is pressed the sprite will say the total
number of words, and your program will remove each word from the list one by one every one second
starting from the last word and using spot variable.
Can you please help me about this problem