Functions naming convention cleanup
This commit is contained in:
@@ -47,7 +47,7 @@ def stage1():
|
|||||||
print(" \n Press N to exit, or press any key to get started")
|
print(" \n Press N to exit, or press any key to get started")
|
||||||
A = input(" user: ")
|
A = input(" user: ")
|
||||||
if A == "N" or A == "n":
|
if A == "N" or A == "n":
|
||||||
stageExist()
|
stagexist()
|
||||||
else:
|
else:
|
||||||
fsetup()
|
fsetup()
|
||||||
except:
|
except:
|
||||||
@@ -72,7 +72,7 @@ def menu():
|
|||||||
elif B == "3" or B == "3.":
|
elif B == "3" or B == "3.":
|
||||||
coins()
|
coins()
|
||||||
elif B == "4" or B == "4.":
|
elif B == "4" or B == "4.":
|
||||||
stageExist()
|
stagexist()
|
||||||
else:
|
else:
|
||||||
nodata()
|
nodata()
|
||||||
|
|
||||||
@@ -166,7 +166,7 @@ def coins():
|
|||||||
os.system('cls')
|
os.system('cls')
|
||||||
menu()
|
menu()
|
||||||
|
|
||||||
def stageExist():
|
def stagexist():
|
||||||
os.system('cls')
|
os.system('cls')
|
||||||
print(Graphics.Warning)
|
print(Graphics.Warning)
|
||||||
print("\n Are you sure you would like to terminate the program? \n Y: terminate \n N: back to menu")
|
print("\n Are you sure you would like to terminate the program? \n Y: terminate \n N: back to menu")
|
||||||
@@ -178,6 +178,6 @@ def stageExist():
|
|||||||
entrycheck()
|
entrycheck()
|
||||||
else:
|
else:
|
||||||
os.system('cls')
|
os.system('cls')
|
||||||
stageExist()
|
stagexist()
|
||||||
|
|
||||||
stage1()
|
stage1()
|
||||||
+1
-1
@@ -8,4 +8,4 @@ Editpoints = pyfiglet.figlet_format("Edit Points")
|
|||||||
Finalpoints = pyfiglet.figlet_format("Final Points")
|
Finalpoints = pyfiglet.figlet_format("Final Points")
|
||||||
Cointoss = pyfiglet.figlet_format("Cointoss")
|
Cointoss = pyfiglet.figlet_format("Cointoss")
|
||||||
Bye = pyfiglet.figlet_format("GoodBye")
|
Bye = pyfiglet.figlet_format("GoodBye")
|
||||||
Rever = "Rev: 2.0, Ver: 1.7.0, Pyfiglet 0.7"
|
Rever = "Rev: 2.0, Ver: 1.7.1, Pyfiglet 0.7"
|
||||||
Reference in New Issue
Block a user