¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
Why doesn't it print both 3 and 7 if both statements are true?
2 Respuestas
+ 1
Because those are nested if, look at the indentation.
0
As the first condition is meet,it jumps out of the progress.