2 Answers
+ 3
Your question is not clear. Are you looking for a tool to modify your python script in the terminal console? Are you using Linux or windows?
Or are you looking for a way to observe and change the code while it's running? This process is actually called debugging, and most IDE's and code editors do have some support for it.
If you are on windows, you can also try IDLE which is part of the python install package. It is python's bundled code editor, but it can act as an interactive environment to run Python code line by line.
+ 1
Hello. You can use code playground on sololearn, or you can download Integrated Development Environment (app where you can code, e.g. Visual Studio Code) and use python there.
I don't think you can edit code written in cmd after the bug raises