Can ChatGPT actually invoke python functions?

Yes, ChatGPT (Plus or GPTs) can use code interpreter to run Python. There was an attempt to rename that skill “Advanced Data Analysis”. The AI can send scripts to a Jupyter notebook, and receive the console and print.

You will see a little blue “play” or “prompt” icon, that can expand the code that was sent to ChatGPT. Alternately, in settings, you can choose to always see code details as they are produced.