Skip to content

xhmelon/Python-Type-Challenges

This branch is 169 commits behind laike9m/Python-Type-Challenges:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a2542dc Β· Nov 6, 2023

History

69 Commits
Nov 4, 2023
Nov 6, 2023
Nov 6, 2023
Nov 6, 2023
Nov 6, 2023
Nov 6, 2023
Oct 31, 2023
Oct 23, 2023
Nov 6, 2023
Oct 26, 2023
Nov 6, 2023
Nov 6, 2023
Nov 6, 2023

Repository files navigation

Python Type Challenges

Learn Python 🐍 typing (type hints) by completing online challenges.

🌟🌟 Click HERE to start 🌟🌟

Happy typing!

How to Run Locally

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

How to Contribute

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.

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.

Credits

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

About

Learn Python typing (type hints) by completing online challenges!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 57.7%
  • HTML 42.3%