how to install random module in python code example Example: python install random library sudo pip3 install random2