Learn Python 🐍 typing (type hints) by completing online challenges.
🌟🌟 Click HERE to start 🌟🌟
Happy typing!
This project use PDM, a modern Python package and dependency manager, to manage dependencies. After you have installed PDM, you can run this project locally based on the following steps:
pdm plugin add pdm-autoexport
pdm install
pdm run devserver
Optionally, the requirements.txt
file is also provided for you if PDM doesn't exist in your environment.
You can use traditional pip
to install dependencies and run the project manually:
pip install -r requirements.txt
flask --app app run --debug
You're more than welcome to contribute new challenges!
All challenges live under the challenges/
directory, and it's pretty easy to add a new one: you only need to create a new folder, add a question.py
and a solution.py
, and that's it. See here for a detailed 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.