How do you get the console to automatically clear when running your program each time?

I don’t know what language you are using, but a “workaround” in python to remove previous runs is described here: