GitPedia

Python Type Challenges

Master Python typing (type hints) with interactive online exercises!

From laike9mยทUpdated June 22, 2026ยทView on GitHubยท

Master Python typing (type hints) with interactive online exercises! The project is written primarily in Python, distributed under the MIT License license, first published in 2023. Key topics include: python, python-education, python-typing, type-hints.

Python Type Challenges

Master Python typing (type hints) with interactive online exercises!

Click ๐Ÿ‘‰๐Ÿ‘‰ HERE to start

Happy typing!

How to Run Locally

You can also run the challenge locally. To do that, clone the project and install necessary dependencies, using either PDM or requirements.txt.

PDM is recommended. After installing PDM, you can install needed dependencies with the following steps:

bash
pdm install pdm dev # This will run a local Flask server

Alternatively, you can install dependencies with requirements.txt:

bash
pip install -r requirements.txt flask run

How to Contribute

  • Add new challenges

    Adding a new challenge is pretty simple: 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.

  • New features & bug fixes

    If you want to fix a bug or add a new feature, follow the guidance.

Got Questions?

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.

Deployed on Zeabur

Credits

This project is inspired Type Exercise in Rust by @skyzh, and type-challenges by @antfu.

Social graph images come from Christin Hume.

Contributors

Showing top 12 contributors by commit count.

View all contributors on GitHub โ†’

This article is auto-generated from laike9m/Python-Type-Challenges via the GitHub API.Last fetched: 6/23/2026