0
Can I clean my console after I print something?
2 Respostas
+ 4
SoloLearn's code playground does not support live interactivity nor does it have a command-prompt/terminal. Therefor, there's no need for such commands.
Now, if you're talking about clearing the command-prompt/terminal on your local machine, then yes, you can. You just have to find the needed libraries/modules/utilities to import/include in order to access this feature. For example, in python, it's as simple as importing a module called "os" and writing something like os.system('clear') or os.system('cls'). You'll likely have a method similar to that (importing and using other utilities to do it).
0
You can type 'clear' to get a clean console, but this will not remove your printing. If you scroll up you can still see it, but you kinda start on a fresh page.