โ† All lessons

Lesson 21 of 62 ยท about 13 minutes

Random Numbers ๐ŸŽฒ

Random Numbers ๐ŸŽฒ Games, simulations, quizzes that shuffle their questions, test data, picking a winner: lots of programs need a bit of chance. Python's built in random module provides it. Import it once at the top of your program. import random Random wholeโ€ฆ

This lesson is part of Pythonaut Pro. The first two lessons are free, so you can start there and see how it works.

See the free lessons