januschung / math-worksheet-generator

Create basic addition, subtraction, multiplication and division practice questions with the answer sheet
GNU General Public License v2.0
507 stars 91 forks source link

added division #18

Closed fuatu closed 4 years ago

fuatu commented 4 years ago

added divison added requirements.txt added .gitignore

fuatu commented 4 years ago

@januschung I added division and you can see that it is working fine. it is just a simple addition

        elif current_type == '/':
            answer = num_1 * num_2
            answer, num_1 = num_1, answer