Five small modules cover most numerical work that is not heavy science. math has the functions beyond plain arithmetic, random makes pseudo-random choices for games and simulations, secrets makes unpredictable values for security, statistics summarises data, and uuid makes unique identifiers. The most important thing in this lesson is the difference between random and secrets, because choosing the wrong one for a password or a token is a real security mistake.
More lessons in Complete Python Programming