Skip to main content

Command Palette

Search for a command to run...

Digital Dice using Python

Published
1 min read
Digital Dice using Python
D

Experienced Consultant, Full Stack Developer, R&D Engineer who loves to solve puzzles & technology problems by code/

All I wanted was to create a dice to generate random numbers from 1 to 6 using any possible simplest programming language. And I also wanted it to be displayed digitally each time when we roll the dice.

So I used python to generate random numbers from 1 to 6. And display image based on the random digit output. The dice will be rolled & the output will be displayed each time when you click on the dice.

A simple solution for my Digital Dice 🙂

DigitalDice.png

Here's the code below for reference

More from this blog

Dhanush N

56 posts

Experienced Consultant & Software Engineer with experience around building and scaling applications over various emerging technologies. I love solving puzzles & provide technological solutions by code