0Pricing
Coding for Kids · Lesson

The random Module

Make surprises.

Lucky Surprises! 🎲

Computers can make surprises using the random module. Like rolling dice or shuffling cards! 🃏

Import It First 📦

Before using random, we import it. Think of it like opening a toy box!

import random
print("random is ready!")

All lessons in this course

  1. The random Module
  2. Random Numbers
  3. Random Choices
  4. A Fortune Teller
← Back to Coding for Kids