Amend/fix output for 'add2values' when function is not used correctly
這個提交存在於:
父節點
707cc704ff
當前提交
0fdc855bdc
共有 1 個檔案被更改,包括 5 行新增 和 3 行删除
|
|
@ -16,8 +16,10 @@ if argnumbers == 2 :
|
|||
|
||||
if argnumbers != 2 :
|
||||
print("")
|
||||
print("Usage: add X Y, where X and Y are individual values.")
|
||||
print(" If uncompiled, usage is 'python add2vals.py X Y'.")
|
||||
print(" (You entered " + str(argnumbers) + " value/s.)")
|
||||
print("You entered " + str(argnumbers) + " value/s.")
|
||||
print("")
|
||||
print("Usage: 'add2vals X Y' where X and Y are individual values.")
|
||||
print(" If add2vals is not in your path, usage is './add2vals X Y'.")
|
||||
print(" If unbundled, usage is 'python add2vals.py X Y'.")
|
||||
print("")
|
||||
sys.exit(1)
|
||||
|
|
|
|||
載入中…
新增問題並參考