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.