Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Clear() Method
course content

Contenido del Curso

Python Data Structures

Clear() MethodClear() 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
toggle bottom row
some-alt