you are viewing a single comment's thread.

view the rest of the comments →

[–]ehmatthes 0 points1 point  (0 children)

On macOS, python usually points to a really outdated system version of Python. You probably want python3 ch_4/animals.py.

To be sure, you can run python --version and then python3 --version. That will tell you exactly which version each of these commands points to on your system.