Skip to content
How do I create a main menu?
Profile icon
Markmjack360

I have an initial list of hydraulic calculators that a user can choose from. What I would like to do is have that list disappear when an option is selected and then give the user the option to return to the main menu later on when prompted. Is something like this possible? If so, what do I need to do? Any and all help is greatly appreciated.

You are viewing a single comment. View All
Profile icon
TheDNAHero

I am pretty sure you can do

import replit (code here) replit.clear()

just import the module and do replit.clear() when you want to clear the screen