Did you try "import os" at the beginning of code and using "os.system('clear')"?
This should work on any OS or code editor/IDE.
I made a blackjack game and a calculator following an online tutorial, however the only tutorial used replit module (from replit import clear -> clear() ) (replit being the website/online interpreter). I am now trying the same program in vscode:

is there a way to import replit to vscode?
is there a similar module to get the same result?
I have seen some people make suggestions to clear console but they all seem to depend on which OS I am running, since my desktop is windows and laptop is mac I want something that can work on both.
how do I import replit module to python?