Learn how to handle input and output, employ the random number generator, and write the output to a file.
The application will generate mathematical expressions for a user to solve. Two levels of difficulty are implemented, and the application will save the results in a file.
To learn more about this project, please visit HyperSkill Website - Arithmetic Exam Application.
This project's difficulty has been labelled as Medium where this is how HyperSkill describes each of its four available difficulty levels:
Easy Projects - if you're just starting
Medium Projects - to build upon the basics
Hard Projects - to practice all the basic concepts and learn new ones
Challenging Projects - to perfect your knowledge with challenging tasks
Project was built using python version 3.11.3
Download the code.py to your local repository and open the project in your choice IDE and run the project.
1 - The application first asks the user to choose between 2 difficulty levels.
2 - After, the application gives the user 5 mathematical questions to solve based on the chosen difficulty level
3 - In the end, the number of correct answers will be outputted, and the user will be asked if they want to save the results in a file or not.