I was making the first lines of code of a game console project, but after declaring 5 prints I realized that the console had become saturated with text, So I decided to look for how to remove it, but I couldn't find any answer.
print("hello") #when code starts, this is printed
text = input()
if text == "hello":
#How to remove the previous print from the console?
print("hello2")
maybe a simple line of code can resolve my problem.
I haven't figured a single line of code that can help me yet.