best development environment for python code example

Example 1: best coding ide for python

#To be honest i personally use Visual studio code, but IDEs made by Jetbrains are also really good. They are a bit pricy though. Of course you can get to community edition as well.
'''Well, other good code editors are atom, sublime text and idle itself. By far atom is the best out of these 
However they are all text editors and not proper IDEs. 
Hope that helps.

Example 2: free python ide

I just use visual studio code because they are really good
It isn't an IDE but I think it's good enough for one.