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

The computer can understand the instructions written in Python programming language and execute them to perform the desired tasks. The computer can interpret the syntax of the code, perform mathematical calculations, process data, manipulate strings, control flow of the program through conditional statements and loops, define and call functions, interact with external files and databases, and perform various other operations as specified in the code.