> For the complete documentation index, see [llms.txt](https://sharinghub-eng.kittenbot.hk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sharinghub-eng.kittenbot.hk/programming-platforms/kittenblock/kittenblock-functions-and-features/learning-python-3-with-kittenblock.md).

# Learning Python 3 with Kittenblock

A Python editor has been integrated into KittenBlock, while many programming blocks are powered by Python code.

If you wish to learn Python, this Python editor is a good start.

### Using the Python Editor

Read [Python Editor Interface](/programming-platforms/kittenblock/kittenblock-functions-and-features/kittenblock-unique-features/python-editor.md) to learn the interface of the editor.

Click the switch in the upper right corner to toggle Python mode.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/115.png)

Type in the Python code in this editor.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/26.png)

Click play to run the code.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/36.png)

### Python and Programming Blocks

The programming blocks can be translated into Python code with just one-click of a button. This can be very useful in learning the the indentations, logic or language of Python.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/55.png)

Python code can also be generated by directly dragging the programming blocks into the editor.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/6.gif)

The programming results can be represented by the stage for visual feedback.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/7.gif)
