In this quiz, you’ll test your understanding of Generating Random Data in Python (Guide).

By working through this quiz, you’ll revisit the difference between PRNGs and CSPRNGs, how seeding makes random data reproducible, and when to reach for random, numpy.random, os.urandom(), secrets, or uuid.


[ Improve Your Python With 🐍 Python Tricks 💌 – Get a short & sweet Python Trick delivered to your inbox every couple of days. >> Click here to learn more and see examples ]