https://github.com/qtle3/voter-elegibility
This program determines if a person is eligible to vote in the US elections. It takes input from the user to assess the following: Citizenship, Age, State Residency, and Felony Status.
https://github.com/qtle3/voter-elegibility
basic-control-flow conditional-statements user-input
Last synced: 9 months ago
JSON representation
This program determines if a person is eligible to vote in the US elections. It takes input from the user to assess the following: Citizenship, Age, State Residency, and Felony Status.
- Host: GitHub
- URL: https://github.com/qtle3/voter-elegibility
- Owner: qtle3
- Created: 2024-08-06T02:58:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-07T03:14:19.000Z (over 1 year ago)
- Last Synced: 2025-07-04T13:21:57.090Z (9 months ago)
- Topics: basic-control-flow, conditional-statements, user-input
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Voter Eligibility Checker
This program determines if a person is eligible to vote in the US elections. It takes input from the user to assess the following criteria:
1. **Citizenship**: Checks if the user is a US citizen.
2. **Age**: Confirms if the user is at least 18 years old.
3. **State Residency**: Verifies if the user meets their state's residency requirements.
4. **Felony Status**: Asks if the user is a convicted felon, as this may affect eligibility.
5. **Registration**: Asks if the user is registered to vote.
Based on these inputs, the program will inform the user whether they can vote.
## Key Concepts Covered
- **Conditional Statements**: Used to evaluate multiple criteria for voter eligibility.
- **User Input**: Gathers necessary information from the user to make decisions.
- **Basic Control Flow**: Implements a simple flow to guide the user through the eligibility check.
## How to Run
1. Clone the repository to your local machine.
2. Run the `vote.py` script using Python 3.x.
3. Follow the on-screen prompts to determine your voting eligibility.
## Requirements
- Python 3.x
---
Feel free to customize this further or add any additional details specific to your project!