python - Getting "invalid syntax" from previously working code - Stack ...

python - Getting "invalid syntax" from previously working code - Stack ...

More to explore

Based on this image's title: “python - Getting "invalid syntax" from previously working code - Stack ...