Skip to content

Glossary: Python Basics

random

Also written: random module, randint, choice, shuffle

A module for random numbers and choices, with tools like `randint`, `choice` and `shuffle`. Results differ on every run.

Where the book teaches it

Related terms

import