News

Python is importing your own file (random.py) instead of the actual random module from the standard library. Classic shadowing bug.
To get that Python module, we will use a tool called “pip.” We covered how to use this in our comprehensive beginners’ guide to Python. To access pip open up the terminal or load a command ...