does a list contain an item? -
10-22-2007, 03:57 PM
Another request for trivia I can't seem to locate:
1. Create a list of objects
2. Add an if/else
3. Drag & drop the list onto the conditional...
Alice seems to offer to check whether the list contains a particular object, however it only appears to look at the last object in the list.
Am I misreading this? It is used for something else (number, strings, properties)? Or, is this a bug?
Searching a list to see if it contains an object is a nice classroom example, but students always think they're one up on me when they see this option.
|