1 回答
TA贡献1871条经验 获得超13个赞
def settings():
global tab
global amount
print("Settings: ")
print("1. Open a tab when the program is launched." + (tab))
print("2. Times the script will be used." + (amount))
print("3. Return to menu.")
qs_one = str(input("> "))
if qs_one == "1":
clear()
if tab == "True":
tab = "False"
clear()
settings()
if tab == "False":
tab = "True"
clear()
settings()
if qs_one == "2":
clear()
print("How many times would you like to run the script?")
qs_two = str(input("> "))
amount = (qs_two)
clear()
settings()
if qs_one == "3":
clear()
menu()
menu()
添加回答
举报