TechToFreedom
Published in

TechToFreedom

Randomness in Python: A Comprehensive Guide

Computers can’t generate a truly random number

Randomness in Python: 3 Types of Operations
Image by didssph from Pixabay

Randomness is one of the essential features of the world. In software development and data science, we usually need to handle random things.

However, computers are inherently not good at random stuff. As long as we use a human-defined algorithm to get a number, the machine will follow…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Yang Zhou

Yang Zhou

Senior Full-Stack Engineer | Top Writer | Join me in Medium: https://yangzhou1993.medium.com/membership