The hello_world.py example script, and all the other example scripts have not received updates for OH3.
Give the lack of activity on the main Helper Libraries repo, I have started maintaining my own fork with updates to make them compatible with OH3 among other things. The example scripts have not been updated their either, but the libraries have been tested to work with OH3.