Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок0
Why doesn't it print both 3 and 7 if both statements are true?
2 ответов
+ 1
Because those are nested if, look at the indentation.
0
As the first condition is meet,it jumps out of the progress.