People that need coding beyond the simple one-liner need a python IDE installed.
Stop the clone wars!
Used to be fine until ArcGIS Pro 2.2... then all … broke loose.
Install the above by default since they are part of the Anaconda distribution.
check these for links. I will leave out the grumble ones, but most already know..
and more generally
Make Spyder happen!
Here are your choices