-
Notifications
You must be signed in to change notification settings - Fork 1
reset
Kyuchumimo edited this page Jan 6, 2025
·
7 revisions
🧩 This function depends on os Python 3.x built-in module.
🧩 This function depends on sys Python 3.x built-in module.
reset
Resets the program.
To simply return to the console, please use exit.
See also:
# title: reset API Command Demo (Python)
# author: StinkerB06, edited by Kyuchumimo
t=0
def TIC():
if btn(4): reset()
cls()
print("Press Z to reset counter.",1,1)
print(t,1,8)
t=t+1