Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 500 Bytes

File metadata and controls

21 lines (14 loc) · 500 Bytes

Dice Rolling Simulator 🎲

What is this?

Simulates rolling one or more dice and prints outcomes; helpful for understanding random module and simple probability experiments.

Main script: Data flair dice.py

Example snippet

import random

roll = random.randint(1, 6)
print(f"You rolled: {roll}")

How to run

  1. Run: python "Data flair dice.py"

Summary

Use this to visualize roll distributions and to learn about randomness and simple simulation techniques.