❎Booleanos
1. ¿Qué son los Booleanos?
type(True)
bool
FalseTrue = "Hola mundo"
Cell In[3], line 1
True = "Hola mundo"
^
SyntaxError: cannot assign to True"Hola mundo" = 5
Cell In[4], line 1
"Hola mundo" = 5
^
SyntaxError: cannot assign to literal here. Maybe you meant '==' instead of '='?pyÚltima actualización