Arithmetic topic generation-Console based
Project hosted in the code cloud: airline Tickets
Demand analysis
- According to the console prompt information, enter the topic to generate the relevant configuration parameters
- Number of topics generated
- Number Range
- Whether there is a score in the formula
- ....
- Program Support
- 10000 topic generation
- Localized storage of topics and answers
- Re-process the generated topics
- API Interface Generation
- Statistics on the wrong situation
- ....
function implementation
Because this project is developed for object-oriented courses, the code structure is designed to be clear and straightforward.
The structure diagram is as follows:
This project mainly completes 3 main parts
- Expression generation
- Title Check Weight
- Calculate the answer
Basic data structures and expressions designed with stacks , two-fork-tree , inverse- polish expressions (suffix-expressions)
Not to be continued ....
Arithmetic build program (Python version)