To add to what @MichaelAnnis said - PAD uses Python 2.0. It does not support later versions of Python. It does install some modules automatically with the PAD package. So, it is not really always necessary to point to the path
where the modules are stored.
You can enable the %ScriptError% variable to make it easier to debug the issue. It is disabled by default, but you can enable it here:

I've just tested it and in fact it doesn't find a module named 'random'.

That's why it doesn't output anything. Otherwise your script would be fine. It works fine with another sample script I had at hand that uses the module 'datetime' that comes pre-installed with PAD.
In this case you would in fact need to provide a path to where Python modules are stored (outside of the PAD installation path) in your local system.
In my case that's C:\Users\agnius\AppData\Local\Programs\Python\Python38-32\Lib

However, since I've got Python 3.8 installed on my system (as you can probably tell from the name of the folder), the random module does not work with PAD at all. It throws a syntax error.

So, if you want to run a Python script in PAD that requires a Python module that does not come pre-installed with PAD, you would need to install Python 2 on your system and then target the modules library in the Module folder path field.
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution.
If you like my response, please give it a Thumbs Up.
If you are interested in Power Automate, you might want to follow me on LinkedIn at https://www.linkedin.com/in/agnius-bartninkas/