Contenido del Curso
Tipos de Datos en Python
Tipos de Datos en Python
Challenge: Logical Statements
Tarea
Swipe to start coding
As an accountant, you often need to evaluate multiple conditions, sometimes using negation (like not
) to reverse logic.
Replace ___
with the correct logic (you may need not) so that:
- The variable
report_is_valid
equalsTrue
– meaning all checks are passed. - The variable
report_is_flagged
equalsFalse
– meaning something in the validation failed.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 2. Capítulo 6
Challenge: Logical Statements
Tarea
Swipe to start coding
As an accountant, you often need to evaluate multiple conditions, sometimes using negation (like not
) to reverse logic.
Replace ___
with the correct logic (you may need not) so that:
- The variable
report_is_valid
equalsTrue
– meaning all checks are passed. - The variable
report_is_flagged
equalsFalse
– meaning something in the validation failed.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 2. Capítulo 6