Welcome to The Gymnasium! This is the place to solve programming exercises and get immediate, test-driven feedback.
- Fork this repository.
- Clone your fork OR use the Online Development mode.
- Solve the exercises in the
exercises/directory. - Run tests locally or online to verify your solutions.
- Push your changes and create a Pull Request to the main repository to see your score on the leaderboard!
You can solve exercises directly in your browser without installing anything:
- On your fork's GitHub page, press the
.key on your keyboard. - This will open a web-based VS Code environment (github.dev).
- Navigate to an exercise (e.g.,
exercises/hello_world/solution.py). - Implement your solution.
- Use the Source Control tab in the sidebar to commit and push your changes.
- To run the self-tests, open a terminal in the browser (if available) or simply rely on the Pull Request feedback.
To run tests locally, you need Python 3.12+. Navigate to an exercise folder and run:
python solution.pyexercises/: Contains the exercise folders. Each folder has aREADME.mdwith instructions and asolution.pystub.docs/: Documentation site files.scripts/: Internal infrastructure scripts.