Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

🗳️ Electronic Voting Machine (EVM)

A simple command-line Electronic Voting Machine (EVM) built using Python. This project simulates a basic voting process where users can vote for candidates, view election results, check vote counts, and reset the EVM.

📌 Features

  • View the list of nominated candidates
  • Cast votes for candidates or NOTA
  • Display the election winner
  • Show total vote count and individual candidate votes
  • Reset all votes after confirmation
  • Menu-driven command-line interface

📋 Menu Options

1. Nomination Detail
2. Voting
3. Result
4. Vote Score
5. EVM Reset
6. Exit

🗳️ Candidates

  • Nominee A
  • Nominee B
  • Nominee C
  • Nominee D
  • Nominee E
  • NOTA (None Of The Above)

📷 Sample Output

Select the Operation

1. Nomination Detail
2. Voting
3. Result
4. Vote Score
5. EVM Reset
6. Exit

Enter the Choice: 2

Enter Your Vote: 1

Vote recorded successfully!

📚 What I Learned

  • Python functions
  • Global variables
  • Conditional statements
  • Loops
  • User input handling
  • Menu-driven applications

🚀 Future Improvements

  • Store votes in a file or database
  • Add voter authentication
  • Prevent duplicate voting
  • Create a graphical interface using Tkinter
  • Generate detailed election reports

🤝 Contributing

Contributions and suggestions are welcome. Feel free to fork this repository and submit a pull request.

📄 License

This project is open source. You may add an MIT License if you wish.

About

A command-line Electronic Voting Machine built with Python featuring candidate selection, vote counting, and result generation.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages