Check Collection Item Value At Index
Validates that the item at a given index matches an expected value (for lists, tuples, strings, etc.)
| Device Type |
|---|
| Jupyter |
Variables:
| Variable Name | Variable Description | Type | Required? | Default |
|---|---|---|---|---|
student_sequence_name | The student's collection variable (list, tuple, etc.) | str | Yes | |
index | The index or key to check in the collection. | any | Yes | |
expected_value | The expected value at the specified index or key. | any | Yes | |
sequence_type | The type of the collection (list, tuple, string, etc.). | str | Yes |