Contenido del Curso
Tipos de Datos en Python
Tipos de Datos en Python
Mutable or Immutable?
It is necessary to understand that there are mutable and immutable data types. The first one can be changed after its creation, but the second one prohibits us from making any modifications.
Immutable data types, as the name implies, cannot be changed once they're made.
In contrast, mutable data types are objects that can be altered after they're created.
Swipe to begin your solution
Change the value of the variable var1
to be 150
.
Once you've completed this task, click the button below the code to check your solution.
Solución
¡Gracias por tus comentarios!
Mutable or Immutable?
It is necessary to understand that there are mutable and immutable data types. The first one can be changed after its creation, but the second one prohibits us from making any modifications.
Immutable data types, as the name implies, cannot be changed once they're made.
In contrast, mutable data types are objects that can be altered after they're created.
Swipe to begin your solution
Change the value of the variable var1
to be 150
.
Once you've completed this task, click the button below the code to check your solution.
Solución
¡Gracias por tus comentarios!