Update man.py

This commit is contained in:
Can202 2021-04-09 00:48:56 -04:00 committed by GitHub
parent 2f40a5aba9
commit b6e5973fb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
man.py
View File

@ -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")