python - Why invalid syntax when I add a statement in the same cell ...

python - Why invalid syntax when I add a statement in the same cell ...

More to explore

Based on this image's title: “python - Why invalid syntax when I add a statement in the same cell ...