Update man.py
This commit is contained in:
parent
2f40a5aba9
commit
b6e5973fb5
4
man.py
4
man.py
@ -11,7 +11,7 @@ def pair(num):
|
|||||||
return result
|
return result
|
||||||
|
|
||||||
#Use man.ordern([0,2,3,20,5,2,50]), the result is order
|
#Use man.ordern([0,2,3,20,5,2,50]), the result is order
|
||||||
def ordern(array):
|
def orderArray(array):
|
||||||
numberis = len(array)
|
numberis = len(array)
|
||||||
torepeat = False
|
torepeat = False
|
||||||
repeathat = True
|
repeathat = True
|
||||||
@ -46,4 +46,4 @@ def clear():
|
|||||||
if os.name == "posix" or os.name == "mac":
|
if os.name == "posix" or os.name == "mac":
|
||||||
os.system ("clear")
|
os.system ("clear")
|
||||||
elif os.name == "ce" or os.name == "nt" or os.name == "dos":
|
elif os.name == "ce" or os.name == "nt" or os.name == "dos":
|
||||||
os.system ("cls")
|
os.system ("cls")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user