Master Python typing (type hints) with interactive online exercises!
ππ Click HERE to start ππ
Happy typing!
The project is, but you can also run it locally.
It's recommended to use PDM to manage dependencies. After installing PDM, you can run this project locally based on the following steps:
pdm plugin add pdm-autoexport
pdm install
pdm dev # This will run a local Flask server
Alternatively, you can install dependencies just using pip
:
pip install -r requirements.txt
flask run
-
Add new challenges
Adding a new challenge is pretty simple: you only need to create a new folder, add a
question.py
and asolution.py
, and that's it. See here for a detailed guidance. -
New features & bug fixes
If you want to fix a bug or add a new feature, follow the guidance.
For general questions, you can post them in Discussions.
If you met issues or want to suggest a new feature/improvement, feel free to open a new issue.
This project is inspired Type Exercise in Rust by @skyzh, and type-challenges by @antfu.
Social graph images come from Christin Hume.