https://github.com/Andres6936/Elections
This project is a simple example of a REST API built with FastAPI. It exposes a few endpoints for creating, reading, updating, and deleting users.
https://github.com/Andres6936/Elections
python python3 wx wxpython
Last synced: 5 months ago
JSON representation
This project is a simple example of a REST API built with FastAPI. It exposes a few endpoints for creating, reading, updating, and deleting users.
- Host: GitHub
- URL: https://github.com/Andres6936/Elections
- Owner: Andres6936
- Created: 2017-07-20T03:57:27.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-10-17T14:54:31.000Z (over 1 year ago)
- Last Synced: 2024-10-20T02:59:34.045Z (over 1 year ago)
- Topics: python, python3, wx, wxpython
- Language: TypeScript
- Homepage:
- Size: 3.79 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Enunciate
Elections for Cupi2's presidency are being held. For such position three candidates have been nominated, the
which have carried out an intense advertising campaign using the main communication media
(Television, Radio and Internet).
We want to know the cost of the campaign, calculating the return on investment in advertising.
For this, the following values were determined depending on the medium that influenced the voter:
**Vote influenced by television advertising = $1,000**
**Vote influenced by Radio advertising = $500**
**Vote influenced by Internet advertising = $100**
This means that, for every vote a candidate receives that is influenced by television advertising, the cost is
will increase by $1,000, just as for every vote influenced by radio advertising, its cost will increase by $1,000.
campaign will increase by $500, and finally, for every vote influenced by Internet advertising, its cost will increase by $500.
campaign will be increased by $100.
Cupi2 presidential elections require an application that allows them to (1) vote for their candidate.
election, allowing them to (2) calculate a candidate's campaign cost depending on advertising influence
of each vote, and to allow them (3) to empty all the ballot boxes of the vote. It is also wished (4) to know the total number
of votes, (5) the percentage of votes obtained by each candidate, and (6) the average cost of campaigning in the
Cupi2 elections.
# Interface
