Built by Metorial, the integration platform for agentic AI.

Learn More

Hodwardlearn-python

Learn Python Playground and Cheatsheet

    Server Summary

    • Execute Python code

    • Lint Python code

    • Test code using assertions

    • Provide code examples and explanations

    • Recap Python syntax and concepts

Playground and Cheatsheet for Learning Python

Build Status

This is a collection of Python scripts that are split by topics and contain code examples with explanations, different use cases and links to further readings.

Read this in Português.

It is a playground because you may change or add the code to see how it works and test it out using assertions. It also allows you to lint the code you've wrote and check if it fits to Python code style guide. Altogether it might make your learning process to be more interactive and it might help you to keep code quality pretty high from very beginning.

It is a cheatsheet because you may get back to these code examples once you want to recap the syntax of standard Python statements and constructions. Also because the code is full of assertions you'll be able to see expected functions/statements output right away without launching them.

You might also be interested in 🤖 Interactive Machine Learning Experiments

How to Use This Repository

Each Python script in this repository has the following structure:

"""Lists