My curiosity got the better of me.
I used PIP to load vpython (what a monster of a module!)
I'm using Thonny 4.1.4 on Windows with Python 3.12.3
Windows asked for permission to access the local directory where vpython was saved. I gave it permission but still no joy.
I modified the code to check what was happening and had the ball dropping through the surface.
As I said, I don't know vpython but one thought is there is no pause that would allow the ball to be viewed. In other words, it's running but you only see the initial position because the program is running too fast. The introduction of the print statements introduces a brief pause. Still there seems to be a logic problem if the ball is suppose to bounce.