say if we r playing a game,
after input, it shows output and also asks input again.
but this time, it should clear old output and then print new output.
idk If I'm explaining correctly.
searched in SOF, but they are there people using os.systsm(clear)
I'm looking for clear as in repl.it site.
here we do,
from replit import clear and we use it on program as simple as clear
There is no builtin way, you gotta write your own clear function with os.system
Обсуждают сегодня