The cannon fires 3 shots. Before each shot, the system raises or lowers the target's shield and tells you in a variable called target_type (shield = shield up or wood = shield down). You cannot change target_type.
Your two cannonballs:
"iron" — Iron Ball (standard — smashes the bare target)
"spike" — Spike Ball (spiked metal — pierces the shield)
Your job: start with the default Iron Ball, then write ONE if statement that switches to the Spike Ball when the shield is up.
Click Run to fire all 3 shots. Land every shot to win!