Skip to content
Spanish Game Vocab Project(Personal)
Profile icon
PhnixGames

I know its probably easy and Im stupid but how do I clear the the text lines above so its easier to read in the output. For example after the intro where it says by me, I want it to clear that and go to the next part. Also this is a spanish project if this replit sounds stupid, and I need this done soon.

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

Use the OS module like this:

import os os.system(‘clear’)
Profile icon
IMayBeMe

@PhnixGames
my bad I was on mobile so the quotes came out weird. Just retype the quotes yourself

Profile icon
PhnixGames

@IMayBeMe
I see this
Screenshot 2021-09-24 3.22.53 PM

Profile icon
PhnixGames

@IMayBeMe
oh its okay ill retry it thanks:)