Contenido del Curso
Python Data Structures
Python Data Structures
Clear() Method
Just like in other data structures, the clear()
method completely wipes out all the elements. Let's dive into the example below.
Tarea
You've got the set:
Your task is to erase all the items from this set.
¿Todo estuvo claro?
Sección 4. Capítulo 6
Contenido del Curso
Python Data Structures
Python Data Structures
Clear() Method
Just like in other data structures, the clear()
method completely wipes out all the elements. Let's dive into the example below.
Tarea
You've got the set:
Your task is to erase all the items from this set.
¿Todo estuvo claro?
Sección 4. Capítulo 6