Check Collection Is Sorted
Validates that a sequence (list/tuple) is sorted in ascending order (or descending if specified).
| Device Type |
|---|
| Jupyter |
Variables:
| Variable Name | Variable Description | Type | Required? | Default |
|---|---|---|---|---|
student_sequence_name | The name of the sequence variable that the student is expected to create. | str | Yes | |
ascending | Whether the sequence should be sorted in ascending (True) or descending (False) order. | bool | Yes | |
sequence_type | The type of the sequence (list, tuple, etc.). | str | Yes |