TheBorg0919 (28)

This is a simple phone-ish kind of program. You can use a calculator, play a guessing game, or log something on it. I'm learning Python, so I decided to make this small project as kind of a landmark of my progress on learning Python.

You are viewing a single comment. View All
PantheraLeo04 (1)

try using replit.clear() to erase the terminal and random.randint() to have the user guess a random word

To all the people telling me to use os, I never learned the os module only replit

JacksonCowie (205)

@PantheraLeo04 Better to import the os module and use os.clear(), just makes it compatible for desktop.

TaylorLiang (647)

@JacksonCowie finally, somebody that agrees that os is superior

Warhawk947 (248)

@TaylorLiang you could also do os.system('cls' if == 'win' else 'clear')

TaylorLiang (647)

Dont use win, use nt instead.

Warhawk947 (248)

@TaylorLiang ok (I thought it was win I never tested it oof)

Thecrowbar1234 (58)

@JacksonCowie I usually use replit clear, but i would recommend os clear