Python - Quizz
📖 Read the lesson
Code Life
By Pierre Marsaa
Nested Codémon Battle Check
Create a nested condition to check both the Codémon's shield and health.
codemon_shield =
0
codemon_health =
100
codemon_shield <=
0
:
codemon_health >
50
:
print
(
"Still fighting!"
)
:
print
(
"Critical!"
)
Verify