Skip to content
clear
Profile icon
owenbaseball

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
Coder100

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!")