Skip to content
Profile icon

How do I clear only part of the screen in python

You are viewing a single comment. View All
Answered by RYANTADIPARTHI [earned 5 cycles]
View Answer
Profile icon

You can't. You can only clear all of the screen or none of the screen.

import os def clear(): os.system("clear") print("Hello,") input() clear() print("World!")