📜  len(sys.argv) == 2 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:43.281000             🧑  作者: Mango

代码示例1
len(sys.argv) , checks how many arguments that have been entered. 

len(sys.argv) != 2 just checks whether you entered at least two elements