When a program written in Python is running, the computer can understand:

the Python code but not the comments.

The computer can only understand the Python code, not the comments. Comments in Python are meant for human readers to understand the code and are ignored by the computer during program execution.