modify a python program.