# Empty a list to start over

**URL:** <https://cl.desmos.com/t/empty-a-list-to-start-over/7780>\
**Category:** Questions\
**Created:** [March 3, 2025, 11:07am UTC](https://cl.desmos.com/t/empty-a-list-to-start-over/7780 "2025-03-03T11:07:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Terry\_Silveus](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/terry_silveus/32/6494_2.png) [@Terry\_Silveus](https://cl.desmos.com/u/Terry_Silveus)\
**Post date:** [March 3, 2025, 11:07am UTC](https://cl.desmos.com/t/empty-a-list-to-start-over/7780/1 "2025-03-03T11:07:17Z")

</div>

Is there a way to empty a list? I’m collecting stats of questions students got right vs how many answered. I want the student to be able to reset their stats if they want. Is there a way to empty the list and basially start over?

---

<div class="post-metadata">

**Author:** ![Daniel\_Wekselgreene](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_wekselgreene/32/1819_2.png) [@Daniel\_Wekselgreene](https://cl.desmos.com/u/Daniel_Wekselgreene)\
**Post date:** [March 4, 2025, 6:11am UTC](https://cl.desmos.com/t/empty-a-list-to-start-over/7780/2 "2025-03-04T06:11:32Z")

</div>

In a graph, it’s easy! If the list is called L, you would use an action like `L -> []` and boom, L is empty again.

If you are talking about CL, it’s a bit trickier. You can’t really reset a list, but you can change the starting index of the list to essentially ignore everything that came before that point, which is kind of like resetting. Here’s an example to [illustrate what I mean](https://teacher.desmos.com/activitybuilder/custom/67c694d2e0fb5b7d1493a3d8).

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/desmos/original/2X/f/f5bd144684474e9a2f333002cde9840e52c5dbd3.png) [@system](https://cl.desmos.com/u/system)\
**Post date:** [March 6, 2025, 6:12am UTC](https://cl.desmos.com/t/empty-a-list-to-start-over/7780/3 "2025-03-06T06:12:25Z")

</div>

Closed on March 6, 2025, 6:12am UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
