ide or text editor for python code example

Example 1: best python ide

PyCharm - https://www.jetbrains.com/pycharm/ # Only for python
Visual Studio Code - https://code.visualstudio.com/ # Personally use and can work for tons of different languages (Highly Reccommend)
IDLE # default ide comes with python, its pretty good comes with python documentation

Example 2: best ide for python

Pycharm - https://www.jetbrains.com/pycharm/
Visual Studio Code - https://code.visualstudio.com/