SyntaxFix
Write A Post
Hire A Developer
Questions
No, you are best off restarting the interpreter
IPython is an excellent replacement for the bundled interpreter and has the %reset command which usually works
%reset