Python Micro Project Sejal
Python Micro Project Sejal
SOCIETY’S
RAJARAMBAPU INSTITUTE OF TECHNOLOGY’S (POLYTECNIC)
LOHEGAON, PUNE-47
A MICRO-PROJECT REPORT
ON
Dice Roller
SUBMITED TO
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
INPARTIAL FULFILLMENT OF THE REQUIRMENTS FOR THE AWARD OF
DIPLOMA IN AIML ENGNEERING
BY
1. Khopkar Viraj Vijay (AN2407)
2. Ovhal Sejal Ramakant (AN2408)
3. Gavhane Shriyash Mahadev (AN2409)
CERTIFICATE
This is to certify that, the project entitled “Dice Roller” has been successfully completed by Khopkar Viraj
Vijay, impartial fulfillment of the Requirement of Engineering Diploma Program in AIML of Maharashtra
State Board of Technical Education during Academic Year-2023-2024
CERTIFICATE
This is to certify that, the project entitled “Dice Roller” has been successfully completed by Ovhal Sejal
Ramakant, impartial fulfillment of the Requirement of Engineering Diploma Program in Computer of
Maharashtra State Board of Technical Education during Academic Year 2023-2024.
CERTIFICATE
This is to certify that, the project entitled “Dice Roller” has been successfully completed by Gavhane
Shriyash Mahadev, impartial fulfillment of the Requirement of Engineering Diploma Program in Computer
of Maharashtra State Board of Technical Education during Academic Year 2023-2024.
MICRO PROJECT
Progress Report / Weekly Report
Name of the Project:
Sign of
Week Duration
Date Work / Activity Performed the
No in Hrs. Faculty
1
10
11
12
13
14
15
16
Table of Content
1. Introduction
3. Code
4. Output
5. Conclusion
Introduction
A Dice Roller is a simple yet fun program that simulates the rolling of
dice commonly used in various board games, tabletop games, and
even in decision-making scenarios. In this Python project, we will
create a program that emulates the rolling of one or more dice,
providing random results just like the real thing. This project is not
only a great way to practice your Python programming skills but can
also be useful for gamers and enthusiasts who want a quick and easy
way to generate random dice rolls for their games.
Start
Initialize necessary variables:
min_value = 1
max_value = 6
Display a message asking the user to press Enter to roll the dice.
Wait for user input (Enter key press).
Generate a random number between min_value and max_value
(inclusive) using the random module in Python. Let's call this number
result.
Display the result of the dice roll.
Ask the user if they want to roll the dice again.
If the user wants to roll again, repeat from step 3.
If the user doesn't want to roll again, end the program.
Flowchart
Code
Explanation:
The Dice Roller project provides a clear example of how Python can
be used to simulate real-world scenarios. By leveraging the `random`
module, the program effectively replicates the experience of rolling a
physical die. This project demonstrates the simplicity and versatility
of Python programming, making it an ideal choice for a wide range of
applications beyond simple simulations. Further development could
include features like rolling multiple dice or providing a user-friendly
interface for interaction. Overall, the Dice Roller serves as a
foundation for more complex projects that involve random number
generation or game simulations.
Teacher Evaluation Sheet for Micro Project
Group No: - _
COs addressed by the Micro Project:
CO :
CO :
CO :
CO :
CO :
Marks:-
Marks obtained
Marks for by the Total
Roll No. Name Of Student Group Work individual Marks
(06) based on viva (10)
(04)
Name of Subject Teacher : Mrs. M. Johare
Signature: