Moonpreneur Icon
Student engaged in interactive online math learning session with headphones

Dice

MoonCampaign by Riaan (9 years)

Hello everyone! My name is Riaan, I am 9 years old, and today I am excited to present my project. I created a digital dice using a micro and Python coding. When button A is pressed, the program uses the random function to choose a number between 1 and 6. Then, the micro displays a picture of a dice showing the number. I used “import random” to make the numbers unpredictable each time. This project helped me learn how randomness works in coding. I enjoyed making this project because it is fun, interactive, and similar to playing a real dice game.

👍

Views:

Your rating and comment will go a long way in encouraging Riaan and taking their innovation Dice to new heights.

terms and conditions

Riaan is already a part of this story

MoonCampaigns highlight student's creativity, public speaking, presentation skills, and teamwork, with an impressive track record that speaks volumes. MoonCampaigns, through quarterly Show & Tell, highlight thousands of inspiring learning stories from Moonpreneur students worldwide.

5000+

Innovative MoonCampaigns

20,000+

Minutes of Visual Content

1M+

Unique Video Views

40,000+

Unique Feedbacks and appreciation to kids from community

80%

parents observed transformational changes in their ward's STEM knowledge and leadership skills

95%

Parents Reported Increased Confidence in their child

All about Riaan project

Hello everyone! My name is Riaan, I am 9 years old, and I am very excited to present my show and tell project. Today I will be showing you my digital dice project made using a micro and Python coding.My project is a simple dice game. When I press button A on the micro, the program runs and chooses a random number between 1 and 6. I used “import random” in my code so the computer can pick a number randomly, just like rolling a real dice. The command random.rand selects a number from 1 to 6, and each time I press the button, I get a different result.


Launch your child's
success today

What people
have to say

See what people around the world are saying about Riaan Dice project

Preparing Kids for the AI-Driven Future

Everything parents need to know about building future-ready skills in an AI-powered world.

Why is preparing children for an AI-driven future more important than ever?
What are the key skills AI can never replace?
How does MoonCampaign help children build these future-ready skills?
How does project-based learning prepare kids better than traditional learning?

You Might Also Like

Every child is gifted. Discover how yours can innovate and lead